org.springframework.security.crypto.encrypt
Interface BytesEncryptor


public interface BytesEncryptor

Service interface for symmetric data encryption.


Method Summary
 byte[] decrypt(byte[] encryptedByteArray)
          Decrypt the byte array.
 byte[] encrypt(byte[] byteArray)
          Encrypt the byte array.
 

Method Detail

encrypt

byte[] encrypt(byte[] byteArray)
Encrypt the byte array.


decrypt

byte[] decrypt(byte[] encryptedByteArray)
Decrypt the byte array.