Crypt::PBKDF2::Hash(3pm)

Crypt::PBKDF2::Hash3pm

Abstract role for pbkdf2 hashing algorithms.

Version

version 0.261630

Methods

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.

Releases

7 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10–11
  4. 12
  5. 13
  6. Arch

Author

Andrew Rodland <[email protected]>

From perl-crypt-pbkdf2 0.261630-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.