public interface EncryptionCipher
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encrypt(byte[] data)
Encrypts the specified data.
|
void |
init()
Initializes the cipher instance.
|
void init() throws java.lang.Exception
java.lang.Exceptionbyte[] encrypt(byte[] data)
throws java.security.GeneralSecurityException
data - the data to encrypt.java.security.GeneralSecurityException