Crypt-Passphrase
view release on metacpan or search on metacpan
lib/Crypt/Passphrase.pm view on Meta::CPAN
=head1 TIPS AND TRICKS
=head2 Custom configurations
While encoders generally allow for a default configuration, I would strongly encourage anyone to research what settings work for your application. It is generally a trade-off between usability/resources and security.
If your application is deployed by different people than it's developed by it may be helpful to have the configuration for C<Crypt::Passphrase> part of your application configuration file and not be hardcoded so that your users can choose the right s...
=head2 Unicode
C<Crypt::Passphrase> considers passwords to be text, and as such you should ensure any password input is decoded if it contains any non-ascii characters. C<Crypt::Passphrase> will take care of both normalizing and encoding such input.
=head2 DOS attacks
Hashing passwords is by its nature a heavy operations. It can be abused by malignant actors who want to try to DOS your application. It may be wise to do some form of DOS protection such as a proof-of-work scheme or a captcha.
=head2 Levels of security
In some situations, it may be appropriate to have different password settings for different users (e.g. set them more strict for administrators than for ordinary users).
=head1 SEE ALSO
( run in 0.308 second using v1.01-cache-2.11-cpan-26ccb49234f )