NAME

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

VERSION

version 0.007

DESCRIPTION

This module implements a validator

METHODS

new()

This creates a new SHA1 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.