Rename hash to key-derivation
ks: make salt a parameter and prettify interface