AES decryption
From: Todor Todorov (tt_at_cdm.dk)
Date: 04/07/05
- Next message: Michel Gallant: "Re: AES decryption"
- Previous message: Todor Todorov: "RSA decryption in CAPI or CAPICOM"
- Next in thread: Michel Gallant: "Re: AES decryption"
- Reply: Michel Gallant: "Re: AES decryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 7 Apr 2005 02:28:41 +0200
I have an urgent problem I simply don't know how to solve. I have some data
that is encrypted with symetric AES algorythm and I have a 128 bit key to
decrypt it. How do I decrypt the data, preferebly in CAPICOM, but CAPI will
do as well.
Here is some Java (booooo) code that should do the trick (I've been told)
// Decrypt message with secret key.
byte[] secretKey = .... 16 bytes;
Cipher messageCipher = Cipher.getInstance("AES"); // AES
messageCipher.init(Cipher.DECRYPT_MODE, secretKey);
byte[] decrypted = messageCipher.doFinal(encrypted, 0, encrypted.length);
- Next message: Michel Gallant: "Re: AES decryption"
- Previous message: Todor Todorov: "RSA decryption in CAPI or CAPICOM"
- Next in thread: Michel Gallant: "Re: AES decryption"
- Reply: Michel Gallant: "Re: AES decryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|