Klasse AesCipher

java.lang.Object
org.teamapps.cluster.crypto.AesCipher

public class AesCipher extends Object
  • Konstruktordetails

    • AesCipher

      public AesCipher(String key)
    • AesCipher

      public AesCipher(byte[] key)
  • Methodendetails

    • encrypt

      public byte[] encrypt(byte[] data) throws Exception
      Löst aus:
      Exception
    • encryptSave

      public byte[] encryptSave(byte[] data)
    • decrypt

      public byte[] decrypt(byte[] data) throws Exception
      Löst aus:
      Exception
    • decryptSave

      public byte[] decryptSave(byte[] data)
    • decrypt

      public byte[] decrypt(byte[] data, int offset) throws Exception
      Löst aus:
      Exception
    • encrypt

      public byte[] encrypt(long nonce, long id, byte[] data) throws Exception
      Löst aus:
      Exception
    • decrypt

      public byte[] decrypt(long nonce, long id, byte[] data) throws Exception
      Löst aus:
      Exception
    • encryptInt

      public int encryptInt(long nonce, long id, int value) throws Exception
      Löst aus:
      Exception
    • decryptInt

      public int decryptInt(long nonce, long id, int value) throws Exception
      Löst aus:
      Exception
    • combineArrays

      public static byte[] combineArrays(byte[] array1, byte[] array2)