Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to store passphrace
Message
From
31/07/2008 19:02:17
 
 
To
31/07/2008 14:18:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Miscellaneous
Thread ID:
01335597
Message ID:
01335682
Views:
14
>Hello,
>
>I am using an encryption program to encrypt passwords in the application.
>The program must know the passphrase that is used for encryption.
>My question is: how should I store the passphrase? If I store the passphrase in a class property, it can easily be found. What is a more secure way to do this?

Just don´t use an encryption method that requires a passphrase, instead, store password hashes and compare the stored hash to the hash of the entered password.

Check this class for example: http://espanol.geocities.com/jgoh_ingeniero/docs/criptopack/index.html#sha1

Carlos Alloatti
Previous
Reply
Map
View

Click here to load this message in the networking platform