Click here to Skip to main content
13,050,614 members (90,558 online)
Click here to Skip to main content
Add your own
alternative version


31 bookmarked
Posted 24 May 2002

ARACrypt - a crypto class

, 24 May 2002
Rate this:
Please Sign up or sign in to vote.
Extremely simple crypto class
<!-- Download Links --> <!-- Add the rest of your HTML here -->


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


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Darroll Walsh
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

QuestionVC6 - Works Well Except for Memory Leaks Pin
fwcetus27-Feb-13 11:14
memberfwcetus27-Feb-13 11:14 
Questionthanks Pin
gknows13-Dec-12 22:52
groupgknows13-Dec-12 22:52 
Darrol31-Jul-08 9:03
memberDarrol31-Jul-08 9:03 
Generalpleaseeee help me Pin
aganaye24-Sep-07 23:31
memberaganaye24-Sep-07 23:31 
NewsRe: pleaseeee help me Pin
Darrol31-Jul-08 8:58
memberDarrol31-Jul-08 8:58 
General.NET Pin
tsotso13-Nov-06 3:28
membertsotso13-Nov-06 3:28 
GeneralRe: .NET Pin
Darrol31-Jul-08 9:00
memberDarrol31-Jul-08 9:00 
GeneralDelphi translation Pin
esegura13-Jan-04 8:41
sussesegura13-Jan-04 8:41 
QuestionHelp me please?? Pin
xxhimanshu4-Nov-03 23:11
memberxxhimanshu4-Nov-03 23:11 
GeneralSomething wrong with my test program Pin
jargine21-Oct-03 16:29
memberjargine21-Oct-03 16:29 
GeneralRe: Something wrong with my test program Pin
Jungruyl Kim14-Aug-05 10:43
memberJungruyl Kim14-Aug-05 10:43 
GeneralProblem Pin
Arsalan Minhas12-Aug-03 0:24
memberArsalan Minhas12-Aug-03 0:24 
GeneralVery nice Pin
Koszyk18-Dec-02 3:03
memberKoszyk18-Dec-02 3:03 
Questionusage? Pin
bryce15-Jul-02 21:20
memberbryce15-Jul-02 21:20 
AnswerRe: usage? Pin
Anonymous28-Jul-02 17:32
sussAnonymous28-Jul-02 17:32 
GeneralGood,a little question Pin
dicker27-May-02 23:58
memberdicker27-May-02 23:58 
GeneralRe: Good,a little question Pin
darroll28-May-02 1:06
memberdarroll28-May-02 1:06 
Generalanother class on CodeProject... Pin
Andreas Saurwein26-May-02 22:45
memberAndreas Saurwein26-May-02 22:45 
GeneralRe: another class on CodeProject... Pin
darroll27-May-02 12:26
memberdarroll27-May-02 12:26 
GeneralCool! Pin
jack Mesic25-May-02 17:38
memberjack Mesic25-May-02 17:38 
GeneralHmm Pin
Jörgen Sigvardsson25-May-02 1:41
memberJörgen Sigvardsson25-May-02 1:41 
GeneralRe: Hmm Pin
darroll25-May-02 2:20
memberdarroll25-May-02 2:20 
GeneralRe: Hmm Pin
DanPetitt28-May-02 9:49
memberDanPetitt28-May-02 9:49 
GeneralRe: Hmm Pin
Koszyk20-Dec-02 3:03
memberKoszyk20-Dec-02 3:03 
GeneralAnother example at CodeProject Pin
Daniel Madden25-May-02 1:11
memberDaniel Madden25-May-02 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 25 May 2002
Article Copyright 2002 by Darroll Walsh
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid