View Source fast_pbkdf2 (fast_pbkdf2 v1.0.6)

Summary

Functions

This function calculates the pbkdf2 algorithm where dkLen is simply assumed to be that of the underlying hash function, a sane default.
This function allows to customise the desired dkLen parameter for pbkdf2.

Types

-type sha_type() :: crypto:sha1() | crypto:sha2().

Functions

Link to this function

pbkdf2(Hash, Password, Salt, IterationCount)

View Source
-spec pbkdf2(sha_type(), binary(), binary(), non_neg_integer()) -> binary().
This function calculates the pbkdf2 algorithm where dkLen is simply assumed to be that of the underlying hash function, a sane default.
Link to this function

pbkdf2(Hash, Password, Salt, IterationCount, DkLen)

View Source
-spec pbkdf2(sha_type(), binary(), binary(), non_neg_integer(), non_neg_integer()) -> binary().
This function allows to customise the desired dkLen parameter for pbkdf2.