in reply to Re: with CGI, How to have multiple usernames and passwords from a txt file (password.txt) file
in thread with CGI, How to have multiple usernames and passwords from a txt file (password.txt) file
Hi Grandfather,
Thanks for your effort. I want to understand what you say since it is beneficial for me
What do you actually say?
I included encrypted password in /tmp/password.txt file in following way.
username,c0075ad4e26ec3dee225ccb6387b0b77
Then, I input USERNAME as username and PASSWORD as SamplePassword. But, It won't work. Why?
But, IF I input USERNAME as username and PASSWORD as c0075ad4e26ec3dee225ccb6387b0b77 , it will work..
Is it the way?
> To check a supplied password use the same hash process that was used to generate the hash originally then compare the two hash codes.
How can I do it? Pls help me to complete the code with security.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: with CGI, How to have multiple usernames and passwords from a txt file (password.txt) file
by marto (Cardinal) on Sep 26, 2018 at 10:31 UTC | |
by theravadamonk (Scribe) on Sep 26, 2018 at 11:00 UTC | |
by marto (Cardinal) on Sep 26, 2018 at 11:13 UTC | |
by theravadamonk (Scribe) on Sep 27, 2018 at 05:09 UTC | |
by marto (Cardinal) on Sep 27, 2018 at 05:55 UTC | |
| |
by hippo (Bishop) on Sep 26, 2018 at 11:23 UTC |