ARACrypt - a crypto class






4.50/5 (8 votes)
May 25, 2002

137511

1929
Extremely simple crypto class
Introduction
This is an extremely simple class for encrypting/decrypting text. This cannot get any simpler. All you have to do is create an instance of the ARACrypt
class and call TransformString
passing it first the encryption/decryption key, then the
CString
holding your text you want to en/decrypt.
You should have any problems running this. It isn't my code though. It was written by Kurtz. I just could pass on sharing it with you.
ARACrypt Crypt; CSTring Key = "MyKey"; CString sSecretString = "My info"; Crypt.TransformString( Key, sSecretString);
To get the string decrypted just make the call to TransformString
again. It is that simple