deriveSecretToByteArray

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

Use deriveSecretToByteArrayBlocking when calling from non-suspending code.