public class AEAD
extends java.lang.Object
Constructor and Description |
---|
AEAD(short aeadId,
byte[] key,
byte[] baseNonce) |
Modifier and Type | Method and Description |
---|---|
byte[] |
open(byte[] aad,
byte[] ct) |
byte[] |
seal(byte[] aad,
byte[] pt) |
public byte[] seal(byte[] aad, byte[] pt) throws InvalidCipherTextException
InvalidCipherTextException
public byte[] open(byte[] aad, byte[] ct) throws InvalidCipherTextException
InvalidCipherTextException