mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Replaced AuthenticatedCipher opmode with a boolean.
This commit is contained in:
@@ -9,7 +9,7 @@ public interface AuthenticatedCipher {
|
||||
* Initializes this cipher with a key, an initialisation vector (IV) and
|
||||
* additional authenticated data (AAD).
|
||||
*/
|
||||
void init(int opmode, SecretKey key, byte[] iv, byte[] aad)
|
||||
void init(boolean encrypt, SecretKey key, byte[] iv, byte[] aad)
|
||||
throws GeneralSecurityException;
|
||||
|
||||
/** Encrypts or decrypts data in a single-part operation. */
|
||||
|
||||
Reference in New Issue
Block a user