open

suspend fun open(recipient: SealPrivateKey, sealed: ByteArray, associatedData: ByteArray): ByteArray

Opens a box seal produced for recipient's public key under the same associatedData, and returns the plaintext. Throws SealedBoxException: SealedBoxException.Reason.NOT_AUTHENTIC for a wrong key, different associated data or altered bytes, alike.