Interface BytesEncryptor

All Known Implementing Classes:
AesBytesEncryptor, BouncyCastleAesCbcBytesEncryptor, BouncyCastleAesGcmBytesEncryptor

public interface BytesEncryptor
Service interface for symmetric data encryption.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    decrypt(byte[] encryptedByteArray)
    Decrypt the byte array.
    byte[]
    encrypt(byte[] byteArray)
    Encrypt the byte array.
  • Method Details

    • encrypt

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

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