org.jasypt.util.binary
Interface BinaryEncryptor

All Known Implementing Classes:
BasicBinaryEncryptor, StrongBinaryEncryptor

public interface BinaryEncryptor

Common interface for all util classes aimed at binary encryption

Since:
1.2
Author:
Daniel Fernández

Method Summary
 byte[] decrypt(byte[] encryptedBinary)
          Decrypts a byte array.
 byte[] encrypt(byte[] binary)
          Encrypts a byte array
 

Method Detail

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.


Copyright © 2011 The JASYPT team. All Rights Reserved.