Article View: borland.public.cppbuilder.nativeapi
Article #9094Encrypting passwords
From: nicolasr
Date: Sat, 31 Jul 2004 01:26
Date: Sat, 31 Jul 2004 01:26
19 lines
1440 bytes
1440 bytes
Hi, does anyone have a pair of routines that let me encrypt/decrypt passwords that I want to store in an INI-file? I would store the necessary key(s) in the executable. I know that is not very secure because one could disassemble the exe file and search for the keys but my main concern is that I currently have stored the passwords as plain text! I tried a simple XOR-algorithm but I would prefer something more advanced probably using CryptoApi? If the used algorithm produces binary data I would move the password away from the INI file and store it in a separate binary file. thanks for any comments, Nick
Technical Details
Message-ID:
<410af545$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e5c730d38e5bc078,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Encrypting passwords Date: Sat, 31 Jul 2004 03:26:26 +0200 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 80.133.165.163 Message-ID: <410af545$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1091237189 80.133.165.163 (30 Jul 2004 18:26:29 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail