kvsLightEncrypt

fun Storage.kvsLightEncrypt(name: String, secretKey: String): Kvs

Returns an encrypted persistent Kvs using the light backend. Requires kvs-persistence-light on the classpath.


fun Storage.kvsLightEncrypt(name: String, encryptor: Encryptor): Kvs

Returns an encrypted persistent Kvs using the light backend and a custom Encryptor.