This function frees the memory structure of a cipher scheme.
CipherDescriptor
Details on parameters and result can be found here.