Click here to Skip to main content
Licence 
First Posted 24 May 2002
Views 106,684
Bookmarked 28 times

ARACrypt - a crypto class

By | 24 May 2002 | Article
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

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

About the Author

Darroll Walsh



United States United States

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralPLEASE READ FIRST BEFORE POSTING PinmemberDarrol9:03 31 Jul '08  
Generalpleaseeee help me Pinmemberaganaye23:31 24 Sep '07  
NewsRe: pleaseeee help me PinmemberDarrol8:58 31 Jul '08  
General.NET Pinmembertsotso3:28 13 Nov '06  
GeneralRe: .NET PinmemberDarrol9:00 31 Jul '08  
GeneralDelphi translation Pinsussesegura8:41 13 Jan '04  
QuestionHelp me please?? Pinmemberxxhimanshu23:11 4 Nov '03  
GeneralSomething wrong with my test program Pinmemberjargine16:29 21 Oct '03  
GeneralRe: Something wrong with my test program PinmemberJungruyl Kim10:43 14 Aug '05  
GeneralProblem PinmemberArsalan Minhas0:24 12 Aug '03  
GeneralVery nice PinmemberKoszyk3:03 18 Dec '02  
Questionusage? Pinmemberbryce21:20 15 Jul '02  
AnswerRe: usage? PinsussAnonymous17:32 28 Jul '02  
GeneralGood,a little question Pinmemberdicker23:58 27 May '02  
GeneralRe: Good,a little question Pinmemberdarroll1:06 28 May '02  
Generalanother class on CodeProject... PinmemberAndreas Saurwein22:45 26 May '02  
GeneralRe: another class on CodeProject... Pinmemberdarroll12:26 27 May '02  
GeneralCool! Pinmemberjack Mesic17:38 25 May '02  
GeneralHmm PinmemberJörgen Sigvardsson1:41 25 May '02  
GeneralRe: Hmm Pinmemberdarroll2:20 25 May '02  
GeneralRe: Hmm PinmemberDanPetitt9:49 28 May '02  
GeneralRe: Hmm PinmemberKoszyk3:03 20 Dec '02  
GeneralAnother example at CodeProject PinmemberDaniel Madden1:11 25 May '02  

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.

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