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 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.