Android AES Decrypt decrypt(byte[] encryptSource)

Here you can find the source of decrypt(byte[] encryptSource)

Description

decrypt

Declaration

public static byte[] decrypt(byte[] encryptSource) throws Throwable 

Method Source Code

//package com.java2s;
import javax.crypto.Cipher;

public class Main {
    private static Cipher decryptCipher;

    public static byte[] decrypt(byte[] encryptSource) throws Throwable {
        if (encryptSource == null || encryptSource.length < 1) {
            return null;
        }//www . j a  va2  s  .  c o m

        return decryptCipher.doFinal(encryptSource);

    }
}

Related

  1. decrypt(byte[] content, String password)
  2. decrypt(byte[] data, Key key)
  3. decrypt(byte[] data, Key key, String cipherAlgorithm)
  4. decrypt(byte[] data, byte[] key)
  5. decrypt(byte[] data, byte[] key, String cipherAlgorithm)
  6. decrypt(byte[] key, byte[] encrypted)
  7. decrypt(byte[] key, byte[] src)
  8. decrypt(byte[] raw, byte[] encrypted)
  9. decrypt(byte[] raw, byte[] encrypted)