Click here to Skip to main content
Click here to Skip to main content
Go to top

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 -->

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

License

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

Share

About the Author

Darroll Walsh

United States United States
No Biography provided

Comments and Discussions

 
QuestionVC6 - Works Well Except for Memory Leaks Pinmemberfwcetus27-Feb-13 11:14 
Questionthanks Pingroupgknows13-Dec-12 22:52 
GeneralPLEASE READ FIRST BEFORE POSTING PinmemberDarrol31-Jul-08 9:03 
Generalpleaseeee help me Pinmemberaganaye24-Sep-07 23:31 
NewsRe: pleaseeee help me PinmemberDarrol31-Jul-08 8:58 
General.NET Pinmembertsotso13-Nov-06 3:28 
GeneralRe: .NET PinmemberDarrol31-Jul-08 9:00 
GeneralDelphi translation Pinsussesegura13-Jan-04 8:41 
QuestionHelp me please?? Pinmemberxxhimanshu4-Nov-03 23:11 
GeneralSomething wrong with my test program Pinmemberjargine21-Oct-03 16:29 
GeneralRe: Something wrong with my test program PinmemberJungruyl Kim14-Aug-05 10:43 
GeneralProblem PinmemberArsalan Minhas12-Aug-03 0:24 
GeneralVery nice PinmemberKoszyk18-Dec-02 3:03 
Questionusage? Pinmemberbryce15-Jul-02 21:20 
AnswerRe: usage? PinsussAnonymous28-Jul-02 17:32 
GeneralGood,a little question Pinmemberdicker27-May-02 23:58 
GeneralRe: Good,a little question Pinmemberdarroll28-May-02 1:06 
Generalanother class on CodeProject... PinmemberAndreas Saurwein26-May-02 22:45 
GeneralRe: another class on CodeProject... Pinmemberdarroll27-May-02 12:26 
GeneralCool! Pinmemberjack Mesic25-May-02 17:38 
GeneralHmm PinmemberJörgen Sigvardsson25-May-02 1:41 
GeneralRe: Hmm Pinmemberdarroll25-May-02 2:20 
GeneralRe: Hmm PinmemberDanPetitt28-May-02 9:49 
GeneralRe: Hmm PinmemberKoszyk20-Dec-02 3:03 
GeneralAnother example at CodeProject PinmemberDaniel Madden25-May-02 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web04 | 2.8.140916.1 | Last Updated 25 May 2002
Article Copyright 2002 by Darroll Walsh
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid