Files
skadro-official-skCrypter/files/main.cpp
T
2021-06-03 15:00:07 +02:00

16 lines
385 B
C++

#include "skCrypter.h"
#include <iostream>
int main()
{
auto testString = skCrypt("TestString"); // encrypted at compile-time
printf(testString); // automatic decryption on usage (alternatively .decrypt())
testString.encrypt(); // encrypt after usage if needed again
// or
testString.clear(); // set full string storage to 0
getchar();
return 0;
}