Authen::Simple::Password(3pm)

Authen::Simple::Password3pm

Simple password checking

Usage

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

Overview

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

•

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.

Releases

10 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0–6.0
  3. 7–10
  4. 11–13

Author

Christian Hansen "[email protected]"

From libauthen-simple-perl 0.5-1.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.