Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jasypt.encryption
Interface ByteEncryptor

All Known Subinterfaces:
  PBEByteCleanablePasswordEncryptor, PBEByteEncryptor

All Known Implementing Classes:
  PooledPBEByteEncryptor, StandardPBEByteEncryptor

    public interface ByteEncryptor

Common interface for all Encryptors which receive a byte array message and return a byte array result.

Since:
  1.0
Author:
  Daniel Fernández

Method Summary
`byte[]` | `decrypt(byte[] encryptedMessage)` Decrypt an encrypted message
`byte[]` | `encrypt(byte[] message)` Encrypt the input message

Method Detail

### encrypt

    byte[] encrypt(byte[] message)

  Encrypt the input message

  Parameters:
    `message` - the message to be encrypted
  Returns:
    the result of encryption

### decrypt

    byte[] decrypt(byte[] encryptedMessage)

  Decrypt an encrypted message

  Parameters:
    `encryptedMessage` - the encrypted message to be decrypted
  Returns:
    the result of decryption

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014 The JASYPT team. All Rights Reserved.