teste vago confidencial (dados do byte []) {
segredo final do byte [] = byte novo [] {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
chave final de SecretKeySpec = SecretKeySpec novo (segredo, “AES”);
encryptCipher final da cifra = Cipher.getInstance (“AES/CBC/PKCS5Padding”);
encryptCipher.init (Cipher.ENCRYPT_MODE, chave);
byte final [] iv = encryptCipher.getIV ();
byte final [] cifrado = encryptCipher.doFinal (dados);
…
} class= >
is de