andPredefinedNonce

@JvmName(name = "authedKeyWithNonce")
fun <K : KeyType, A : AuthCapability.Authenticated<out K>> SymmetricKey<out A, NonceTrait.Required, out K>.andPredefinedNonce(    nonce: ByteArray): KmmResult<KeyWithNonceAuthenticating<A, K>>(source)

This function can be used to feed a pre-set nonce into encryption functions. This is usually not required, since all algorithms requiting a nonce/IV generate them by default

See also

at.asitplus.signum.supreme.symmetric.randomNonce