The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Crypt::Passphrase::SHA1::Hex - Validate against hexed SHA1 hashes with Crypt::Passphrase

VERSION

version 0.013

DESCRIPTION

This module implements a validator for hex-encoded SHA-1 hashes.

METHODS

new()

This creates a new SHA-1 validator. It takes no arguments.

accepts_hash($hash)

This (heuristically) determines if we may be dealing with a hex encoded sha1 sum.

verify_hash($password, $hash)

This determines if the password matches the hash when SHA1'ed.

AUTHOR

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.