Android Utililty Methods Byte Array Decrypt

List of utility methods to do Byte Array Decrypt

Description

The list of methods to do Byte Array Decrypt are organized into topic(s).

Method

byte[]decrypt(byte[] raw, byte[] encrypted)
decrypt
SecretKeySpec skeySpec = new SecretKeySpec(raw, "AES");
Cipher cipher = Cipher.getInstance("AES");
cipher.init(Cipher.DECRYPT_MODE, skeySpec);
byte[] decrypted = cipher.doFinal(encrypted);
return decrypted;