AES (Rijndael) Encryption with CryptoAPI
From: Abe Simpson (abe_at_simpson.com)
Date: 06/25/04
- Previous message: Brandon Swamy: "Re: MSGINA with Novell"
- Next in thread: Pieter Philippaerts: "Re: AES (Rijndael) Encryption with CryptoAPI"
- Reply: Pieter Philippaerts: "Re: AES (Rijndael) Encryption with CryptoAPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Jun 2004 18:04:48 -0400
Hi all,
I have managed to get CryptoAPI on XP to work with AES (Rijndael) via the
contstants CALG_AES_128, CALG_AES_192 and CALG_AES_256. However I can't seem
to be able to verify the correctness of encryption.
When I encrypt plaintext that is 1 to 15 bytes long, the resultant
ciphertext is always 16 bytes, and a 16-byte plaintext results in a 32-byte
cipher text.
Rijndael specs provide sample results where 16-byte plaintext becomes
16-byte ciphertext. How do I achieve the same result?
Thanks in advance.
Abe
- Previous message: Brandon Swamy: "Re: MSGINA with Novell"
- Next in thread: Pieter Philippaerts: "Re: AES (Rijndael) Encryption with CryptoAPI"
- Reply: Pieter Philippaerts: "Re: AES (Rijndael) Encryption with CryptoAPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|