Hi!!
I have to decrypt a PIN code to be able to print it. I'm receiving a file which contains the encrypted file and I suppose that it will also contain the key used to encrypt/decrypt.
Will it work with the following code?
Cipher cip = Cipher.getInstance("AES") ;
cip.init(Cipher.DECRYPT_MODE,KEY_FOR_ENCRYPTING/DECRYPTING);
decryptMessage = cip.doFinal(ENCRYPTED_PIN_CODE);
decryptString = decryptMessage.toString();
decryptString will contain the decrypted PIN CODE???
Thanks in advance!