Last active
October 28, 2016 21:37
-
-
Save flschweiger/b518914314ee89944b99bd02c190ec40 to your computer and use it in GitHub Desktop.
Decrypt a super secret message.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Init the Cipher and decrypt the ciphertext | |
cipher.init(Cipher.DECRYPT_MODE, secretKey, new IvParameterSpec(iv)); | |
byte[] decryptedBytes = | |
cipher.doFinal(encryptedBytes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment