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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2019 The JASYPT team. All rights reserved.