How can I encrypt and decrypt passwords in a Perl CGI program?

后端 未结 2 1665
渐次进展
渐次进展 2020-12-17 06:54

Am new to Perl CGI, using ActivePerl, SQLite DB, Apache server and Windows. I have an entry form in which their are fields like Id, Name, Password and so on. Whenever anybo

2条回答
  •  庸人自扰
    2020-12-17 07:31

    MD5 converts any string into a digest. To check if the user's password is valid you don't need the password from the database, but only compare the digest from their entered one to the digest you stored.

提交回复
热议问题