Package 

Class AESEncryption23

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ByteArray encrypt(ByteArray data) Encrypts an array of bytes and writes into the given OutputStream
      ByteArray decrypt(ByteArray data) Decrypts an array of bytes
      ByteArray decrypt(InputStream inputStream) Decrypts an array of bytes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • encrypt

         ByteArray encrypt(ByteArray data)

        Encrypts an array of bytes and writes into the given OutputStream

        Parameters:
        data -
        • raw data to encrypt

      • decrypt

         ByteArray decrypt(InputStream inputStream)

        Decrypts an array of bytes

        Parameters:
        inputStream -
        • inputStream with the data to decrypt