public class AesGcmEncryptor extends AesCipher implements BlockCipher.Encryptor
aesKey, CHUNK_LENGTH, cipher, CTR_IV_LENGTH, GCM_TAG_LENGTH, GCM_TAG_LENGTH_BITS, localNonce, NONCE_LENGTH, randomGenerator, SIZE_LENGTH| Modifier and Type | Method and Description |
|---|---|
byte[] |
encrypt(boolean writeLength,
byte[] plainText,
byte[] AAD) |
byte[] |
encrypt(boolean writeLength,
byte[] plainText,
byte[] nonce,
byte[] AAD) |
byte[] |
encrypt(byte[] plainText,
byte[] AAD) |
createFooterAAD, createModuleAAD, quickUpdatePageAADpublic byte[] encrypt(byte[] plainText,
byte[] AAD)
encrypt in interface BlockCipher.Encryptorpublic byte[] encrypt(boolean writeLength,
byte[] plainText,
byte[] AAD)
public byte[] encrypt(boolean writeLength,
byte[] plainText,
byte[] nonce,
byte[] AAD)
Copyright © 2021 The Apache Software Foundation. All rights reserved.