deriveSecret

open suspend fun deriveSecret(input: ByteArray): ByteString(source)
open suspend fun deriveSecret(input: ByteString): ByteString(source)

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

Use deriveSecretBlocking when calling from non-suspending code.