functions

functions for generating pbkdf2 digest and salt