Click here to Skip to main content
11,930,018 members (52,525 online)
Click here to Skip to main content
Add your own
alternative version


31 bookmarked

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

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