logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Andrew Rodland <arodland@cpan.org>

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.

Name

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

Version

       version 0.161520

See Also