This function is used to derive an encryption key from the given user passphrase.
CipherDescriptor
Details on parameters and result can be found here.