NAME

Crypt::Passphrase::PassphraseHash

VERSION

version 0.006

DESCRIPTION

This class can be useful for plugging Crypt::Passphrase into some frameworks (e.g. ORMs).

METHODS

new($crypt_passphrase, $hash)

This takes a Crypt::Passphrase object, and a hash string.

verify_password($password)

Verify that the password matches the hash in this object.

needs_rehash()

Check if the hash needs to be rehashed.

raw_hash()

This returns the hash of this object as a string.

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.