Unix-style, Variously Hashed Passwords

Edit Package perl-Crypt-Password
http://search.cpan.org/dist/Crypt-Password/

This is just a wrapper for perl's 'crypt()', which can do everything you
would probably want to do to store a password, but this is to make usage
easier.

The object stringifies to the return string of the crypt() function, which
is usually (see the KNOWN ISSUES manpage) in Modular Crypt Format:

# scalar($hashed):
# v digest v hash ->
# $5$%RK2BU%L$aFZd1/4Gpko/sJZ8Oh.ZHg9UvxCjkH1YYoLZI6tw7K8
# ^ salt ^

That you can store, etc, retrieve then give it to 'password()' again to
'->check($given_password)' or string compare to the output of a new
'password($given_password)'.

If the given string is already hashed it is assumed to be okay to use it as
is. This means users can supply pre-hashed passwords to you.

Refresh
Refresh
Source Files
Filename Size Changed
Crypt-Password-0.28.tgz 0000028309 27.6 KB
cpanspec.yml 0000000701 701 Bytes
perl-Crypt-Password.changes 0000000729 729 Bytes
perl-Crypt-Password.spec 0000003136 3.06 KB
Latest Revision
Dirk Stoecker's avatar Dirk Stoecker (dstoecker) committed (revision 10)
Comments 0
openSUSE Build Service is sponsored by