NAME

Crypt::Passphrase::SHA1::Base64 - Validate against base64ed SHA1 hashes with Crypt::Passphrase

VERSION

version 0.016

DESCRIPTION

This module implements a validator for base64-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 base64 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.