Interface Encryptor
public interface Encryptor
Responsible for encrypting/decrypting bytes. Implementations are intended to
be thread-safe.
-
Method Summary
-
Method Details
-
decrypt
byte[] decrypt(byte[] bytes) Decrypts the given byte array.- Parameters:
bytes
- The encrypted bytes- Returns:
- The decrypted bytes
-
encrypt
byte[] encrypt(byte[] bytes) Encrypts the given byte array.- Parameters:
bytes
- The clear bytes- Returns:
- The ecnrypted bytes
-