Package org.jasypt.util.binary
Interface BinaryEncryptor
- All Known Implementing Classes:
AES256BinaryEncryptor
,BasicBinaryEncryptor
,StrongBinaryEncryptor
public interface BinaryEncryptor
Common interface for all util classes aimed at binary encryption
- Since:
- 1.2
- Author:
- Daniel Fernández
-
Method Summary
-
Method Details
-
encrypt
byte[] encrypt(byte[] binary) Encrypts a byte array- Parameters:
binary
- the byte array to be encrypted.
-
decrypt
byte[] decrypt(byte[] encryptedBinary) Decrypts a byte array.- Parameters:
encryptedBinary
- the byte array to be decrypted.
-