Module fast_pbkdf2

Data Types

sha_type()

sha_type() = crypto:sha1() | crypto:sha2()

Function Index

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

Function Details

pbkdf2/4

pbkdf2(Hash::sha_type(), Password::binary(), Salt::binary(), IterationCount::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.

pbkdf2/5

pbkdf2(Hash::sha_type(), Password::binary(), Salt::binary(), IterationCount::non_neg_integer(), DkLen::non_neg_integer()) -> binary()

This function allows to customise the desired dkLen parameter for pbkdf2.


Generated by EDoc