encrypt password in config file

G

Guest

Hello All:

I want to encrypt a username/password inside a config file that will be read
and decrypted by a .dll. I have discovered many ways to do this looking at
Google but was wondering if anyone could recomend one method over another.
Any thoughts?
 
R

rossum

Hello All:

I want to encrypt a username/password inside a config file that will be read
and decrypted by a .dll. I have discovered many ways to do this looking at
Google but was wondering if anyone could recomend one method over another.
Any thoughts?

No actual need to decrypt. If you encrypt the password that the user
enters then you just have to check that the two encrypted versions
match. Depending on how secure you want things to be you could even
use a one-way encryption that cannot be decoded.

rossum



The ultimate truth is that there is no ultimate truth
 
G

Guest

Alright. Thanks for the clarification.

rossum said:
No actual need to decrypt. If you encrypt the password that the user
enters then you just have to check that the two encrypted versions
match. Depending on how secure you want things to be you could even
use a one-way encryption that cannot be decoded.

rossum



The ultimate truth is that there is no ultimate truth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top