SYNOPSIS

    if ( Authen::Simple::Password->check( $password, $encrypted ) ) {
        # OK
    }

DESCRIPTION

Provides a simple way to verify passwords.

METHODS

  • check( $password, $encrypted ) Returns true on success and false on failure.

SUPPORTED PASSWORD FORMATS

  • Plain Plaintext

  • Crypt crypt\|(3)

  • Crypt Modular

    • $1$ MD5-based password algorithm

    • $apr$ MD5-based password algorithm, Apache variant

  • \s-1LDAP\s0

    • {\s-1CLEARTEXT\s0} Plaintext.

    • {\s-1CRYPT\s0} Uses crypt\|(3)

    • {\s-1MD5\s0} \s-1MD5\s0 algorithm

    • {\s-1SMD5\s0} Seeded \s-1MD5\s0 algorithm

    • {\s-1SHA\s0} \s-1SHA-1\s0 algorithm

    • {\s-1SSHA\s0} Seeded \s-1SHA-1\s0 algorithm

  • \s-1MD5\s0 algorithm Encoded as binary, Base64 or hexadecimal.

  • \s-1SHA-1\s0 algorithm Encoded as binary, Base64 or hexadecimal.

  • \s-1SHA-2\s0 256 algorithm Encoded as binary, Base64 or hexadecimal.

RELATED TO Authen::Simple::Password…

Authen::Simple

crypt\|(3).

AUTHOR

Christian Hansen \*(C`[email protected]\*(C'

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.