DOKK / manpages / debian 12 / libcrypt-pbkdf2-perl / Crypt::PBKDF2::Hash.3pm.en
Crypt::PBKDF2::Hash(3pm) User Contributed Perl Documentation Crypt::PBKDF2::Hash(3pm)

Crypt::PBKDF2::Hash - Abstract role for PBKDF2 hashing algorithms.

version 0.161520

hash_len()

Returns the length (in bytes) of the hashes this algorithm generates.

Generate strong pseudorandom bits based on the $data and $key

to_algo_string()

Return a string representing any optional arguments this object was created with, for use by Crypt::PBKDF2's "generate" and "encode_string" methods. May return undef if no arguments are required, in which case none will be serialized and "from_algo_string" won't be called on reading the hash.

Given a string as produced by "from_algo_string", return an instance of this class with options corresponding to those in $str. If no options are expected, it's permissible for this method to throw an exception.

Andrew Rodland <arodland@cpan.org>

This software is copyright (c) 2016 by Andrew Rodland.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-06-12 perl v5.34.0