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
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    decrypt(byte[] encryptedBinary)
    Decrypts a byte array.
    byte[]
    encrypt(byte[] binary)
    Encrypts a byte array
  • Method Details

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