encryptedProtoSerializer

fun <T : Any> encryptedProtoSerializer(cipher: Cipher, kSerializer: KSerializer<T>, defaultValue: T, options: EncryptedStoreOptions = EncryptedStoreOptions()): EncryptedProtoSerializer<T>

Builds an EncryptedProtoSerializer for use with custom Storage (e.g. IndexedDB).