WIP password base key derivation function