public static interface BlockCipher.Encryptor
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encrypt(byte[] plaintext,
byte[] AAD)
Encrypts the plaintext.
|
byte[] encrypt(byte[] plaintext,
byte[] AAD)
plaintext - - starts at offset 0 of the input, and fills up the entire byte array.AAD - - Additional Authenticated Data for the encryption (ignored in case of CTR cipher)Copyright © 2024 The Apache Software Foundation. All rights reserved.