public class AesCtrEncryptor extends AesCipher implements BlockCipher.Encryptor
aesKey, CHUNK_LENGTH, cipher, CTR_IV_LENGTH, CTR_RANDOM_IV_SAME_KEY_MAX_OPS, GCM_RANDOM_IV_SAME_KEY_MAX_OPS, 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 © 2023 The Apache Software Foundation. All rights reserved.