🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9095

Re: Encrypting passwords

#9095
From: Dennis Jones
Date: Sat, 31 Jul 2004 20:26
24 lines
1675 bytes
"nicolasr" <nicolasrNOSPAMATSIGNgmx.net> wrote in message
news:410af545$1@newsgroups.borland.com...
> 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.

Check out LockBox by TurboPower.  The source code for LockBox is available
free on SourceForge.

- Dennis
Technical Details
Message-ID: <410c0075$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <410af545$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e5c730d38e5bc078
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Dennis Jones" <nospam@bogus.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <410af545$1@newsgroups.borland.com>
Subject: Re: Encrypting passwords
Date: Sat, 31 Jul 2004 13:26:28 -0700
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 204.200.27.7
Message-ID: <410c0075$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1091305589 204.200.27.7 (31 Jul 2004 13:26:29 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail