Crypt::Passphrase::Encoder - Base class for Crypt::Passphrase encoders
version 0.011
This is a base class for password encoders. It is a subclass of Crypt::Passphrase::Validator.
Crypt::Passphrase::Validator
This hashes a password. Note that this will return a new value each time since it uses a unique hash every time.
This method will return true if the password needs a rehash. This may either mean it's using a different hashing algoritm, or because it's using different parameters. This should be overloaded in your subclass.
This method returns the types of crypt entries this validator supports. This is used to implement accepts_hash.
accepts_hash
This is a utility method provided by the base class to aid in generating a good salt.
Leon Timmermans <leont@cpan.org>
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.
To install Crypt::Passphrase, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Passphrase
CPAN shell
perl -MCPAN -e shell install Crypt::Passphrase
For more information on module installation, please visit the detailed CPAN module installation guide.