Package org.apache.iceberg.encryption
Class Ciphers.AesGcmEncryptor
java.lang.Object
org.apache.iceberg.encryption.Ciphers.AesGcmEncryptor
- Enclosing class:
Ciphers
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AesGcmEncryptor
public AesGcmEncryptor(byte[] keyBytes)
-
-
Method Details
-
encrypt
public byte[] encrypt(byte[] plaintext, byte[] aad) -
encrypt
public byte[] encrypt(byte[] plaintext, int plaintextOffset, int plaintextLength, byte[] aad) -
encrypt
public int encrypt(byte[] plaintext, int plaintextOffset, int plaintextLength, byte[] ciphertextBuffer, int ciphertextOffset, byte[] aad)
-