Crypt::PBKDF2::Hash(3pUser Contributed Perl DocumentatCrypt::PBKDF2::Hash(3pm)
Crypt::PBKDF2::Hash - Abstract role for PBKDF2 hashing algorithms.
| Use Case | Command | Description |
|---|---|---|
| Get hash length | hash_len() | Returns length (bytes) of generated hashes |
| Generate pseudorandom bits | generate($data, $key) | Strong pseudorandom bits from data & key |
| Serialize algorithm options | to_algo_string() | Return optional args string (or undef) |
| Deserialize algorithm options | from_algo_string($str) | Return instance from option string |
version 0.161520
hash_len() â Returns the length (in bytes) of the hashes this algorithm generates.generate($data, $key) â 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.from_algo_string($str) â 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 AT 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.
Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-25 07:24 @216.73.217.127
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)