SecretDerivation

Derives a secret from input keying material.

The input is the keying material (e.g., a password or IKM), and the output is the derived secret.

Functions

Link copied to clipboard
open suspend fun deriveSecret(input: ByteArray): ByteString
open suspend fun deriveSecret(input: ByteString): ByteString

Derives a secret from the given input keying material and returns the result as a ByteString.

Link copied to clipboard

Derives a secret from the given input keying material and returns the result as a ByteString.

Link copied to clipboard
open suspend fun deriveSecretToByteArray(input: ByteArray): ByteArray
open suspend fun deriveSecretToByteArray(input: ByteString): ByteArray

Derives a secret from the given input keying material and returns the result as a ByteArray.

Link copied to clipboard

Derives a secret from the given input keying material and returns the result as a ByteArray.