@Immutable
public class Cipher
extends java.lang.Object
| Constructor and Description |
|---|
Cipher(javax.crypto.SecretKey secretKey) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] cipherBytes,
java.lang.String nonce) |
byte[] |
encrypt(byte[] plainBytes,
java.lang.String nonce) |