Open
abstract fun Open(key: ByteArray, nonce: ByteArray, aad: ByteArray?, ct: ByteArray): ByteArray(source)
Decrypt ciphertext and tag ct using associated data aad with symmetric key key and nonce nonce, returning plaintext message pt. This function can raise an OpenError or MessageLimitReachedError upon failure.