public static class Ciphers.AesGcmEncryptor
extends java.lang.Object
| Constructor and Description |
|---|
AesGcmEncryptor(byte[] keyBytes) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encrypt(byte[] plaintext,
byte[] aad) |
byte[] |
encrypt(byte[] plaintext,
int plaintextOffset,
int plaintextLength,
byte[] aad) |
int |
encrypt(byte[] plaintext,
int plaintextOffset,
int plaintextLength,
byte[] ciphertextBuffer,
int ciphertextOffset,
byte[] aad) |
public byte[] encrypt(byte[] plaintext,
byte[] aad)
public byte[] encrypt(byte[] plaintext,
int plaintextOffset,
int plaintextLength,
byte[] aad)
public int encrypt(byte[] plaintext,
int plaintextOffset,
int plaintextLength,
byte[] ciphertextBuffer,
int ciphertextOffset,
byte[] aad)