DOKK / manpages / debian 12 / libauthen-simple-perl / Authen::Simple::Password.3pm.en
Authen::Simple::Password(3pm) User Contributed Perl Documentation Authen::Simple::Password(3pm)

Authen::Simple::Password - Simple password checking

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

Provides a simple way to verify passwords.

check( $password, $encrypted )

Returns true on success and false on failure.

  • Plain

    Plaintext

  • Crypt

    crypt(3)

  • Crypt Modular
  • $1$

    MD5-based password algorithm

  • $apr$

    MD5-based password algorithm, Apache variant

LDAP
  • {CLEARTEXT}

    Plaintext.

  • {CRYPT}

    Uses crypt(3)

  • {MD5}

    MD5 algorithm

  • {SMD5}

    Seeded MD5 algorithm

  • {SHA}

    SHA-1 algorithm

  • {SSHA}

    Seeded SHA-1 algorithm

  • MD5 algorithm

    Encoded as binary, Base64 or hexadecimal.

  • SHA-1 algorithm

    Encoded as binary, Base64 or hexadecimal.

  • SHA-2 256 algorithm

    Encoded as binary, Base64 or hexadecimal.

Authen::Simple

crypt(3).

Christian Hansen "chansen@cpan.org"

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

2021-01-02 perl v5.32.0