Companion

Properties

Link copied to clipboard
const val KEY_SIZE: Int = 32

Required key size, in bytes, for AES-256-GCM.

Functions

Link copied to clipboard

Creates an encryption key from the supplied 32-byte value.

Link copied to clipboard

Generates a new random 32-byte AES-256-GCM key.

Link copied to clipboard

Creates a rotating encryption key set.