Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crypt() vs. external module 1

Status
Not open for further replies.

MJAZ

Programmer
Aug 1, 2006
73
US
Hello! I am wondering about the different pros and cons of using crypt() or Digest:SHA1. I have seen both and know how to use both, but I am wondering which is more secure. Any help will be useful.
 
Thanks. So for storing passwords, I shouls use crypt()?
 
You dont have to use crypt() for passwords. You can use anything you want. But dont use crypt() for anything besides username/password authentication. If you're transmitting sensitive data over the internet you will also want to use HTTPS instead of HTTP.

- Kevin, perl coder unexceptional!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top