Package-level declarations

Types

Link copied to clipboard

These are the errors returned by our public API.

Link copied to clipboard
interface Disposable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface KeyManager
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun checkCanary(canary: String, text: String, encryptionKey: String): Boolean

Check that key is still valid using the output of create_canary.

Link copied to clipboard
fun createCanary(text: String, encryptionKey: String): String

Create a "canary" string, which can be used to test if the encryption

Link copied to clipboard

We expose the crypto primitives on the namespace Create a new, random, encryption key.