CCrypto

A collection of helper libraries
Post Reply
AckiB
Posts: 14
Joined: Sat Sep 28, 2019 3:43 pm

CCrypto

Post by AckiB » Sun Sep 29, 2019 10:42 pm

:windows: :linux:

CCrypto is a small class I created to en-/decode strings...
It is very easy to use...

Code: Select all

	CCrypto crypt;
	
	cStringc text1 = "This is a test text.";
	printf("%s\n", text1.c_str());
	
	cStringc text2 = crypt.encryptString(text1);
	printf("%s\n", text2.c_str());
	
	cStringc text3 = crypt.decryptString(text2);
	printf("%s\n", tex3.c_str());

Post Reply