CipherDescriptor
fun <Cipher : Any> CipherDescriptor(name: String, saltSize: Long, allocate: CipherDescriptorAllocateCipherCallback<Cipher>, free: CipherDescriptorFreeCipherCallback<Cipher>, clone: CipherDescriptorCloneCipherCallback<Cipher>, getLegacy: CipherDescriptorGetLegacyCallback<Cipher>, getPageSize: CipherDescriptorGetPageSizeCallback<Cipher>, getReserved: CipherDescriptorGetReservedCallback<Cipher>, getSalt: CipherDescriptorGetSaltCallback<Cipher>, generateKey: CipherDescriptorGenerateKeyCallback<Cipher>, encryptPage: CipherDescriptorEncryptPageCallback<Cipher>, decryptPage: CipherDescriptorDecryptPageCallback<Cipher>): CipherDescriptor(source)
Returns an instance of CipherDescriptor.
The caller takes ownership of the returned CipherDescriptor and is responsible for releasing it by invoking CipherDescriptor.close.
Parameters
name
The first character must be alphabetic = alpha, all other characters may be alphanumeric or underscore. The name may consist of a maximum of 63 characters.
saltSize
The size of the salt in bytes.