| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static byte[] | Returns: message key and appended IVAEAD algorithm aeadAlgo, int symmetric cipher algorithm cipherAlgo, byte[] session key sessionKey, byte[] salt salt, byte[] HKDF info hkdfInfo)Derive a message key and IV from the given session key. |
| AEADUtil | back to summary |
|---|---|
| pack-priv AEADUtil() | |
| deriveMessageKeyAndIv | back to summary |
|---|---|
| pack-priv static byte[] deriveMessageKeyAndIv(int aeadAlgo, int cipherAlgo, byte[] sessionKey, byte[] salt, byte[] hkdfInfo) Derive a message key and IV from the given session key.
The result is a byte array containing the key bytes followed by the IV.
To split them, use
| |