User Authentication

L

Lucas Raab

I would like to be able to write a username/password authentication program
using the SHA or MD5 algorithms. How is the best way going about this and
making a file where the stored usernames and passwords are kept and
comparing that to what user types in?

Many thanks
 
P

Paul Rubin

Lucas Raab said:
I would like to be able to write a username/password authentication program
using the SHA or MD5 algorithms. How is the best way going about this and
making a file where the stored usernames and passwords are kept and
comparing that to what user types in?

Umm. Be a little careful about this. Can you say more about the
specific application?
 
N

Ng Pheng Siong

According to Lucas Raab said:
I would like to be able to write a username/password authentication program
using the SHA or MD5 algorithms. How is the best way going about this and
making a file where the stored usernames and passwords are kept and
comparing that to what user types in?

Look at Zope's zpasswd.py. Remember to add salt; Zope's doesn't.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top