setCipher
abstract fun <Cipher : SqliteMcCipher> setCipher(cipher: Cipher, prefix: SqliteMcConfigParamPrefix.ReadWrite = Default, configure: CipherParameters<Cipher>.() -> Unit? = null)(source)
Sets the cipher used to encrypt the database. See SqliteMcCodecType for the builtin ciphers.
configure, if supplied, runs against the newly set cipher's own parameters.
Throws
if writing the value fails.