Package com.kheops.util
Interface EncryptionCipher
- All Known Implementing Classes:
RsaCipher
,RsaClientCipher
public interface EncryptionCipher
-
Method Summary
-
Method Details
-
init
Initializes the cipher instance.- Throws:
Exception
-
encrypt
Encrypts the specified data.- Parameters:
data
- the data to encrypt.- Returns:
- a new byte array that contains encrypted data.
- Throws:
GeneralSecurityException
-