Re: pycrypto with different encryption client
Sascha Silbe <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <[email protected]> |
On Mon, May 28, 2007 at 05:08:59AM +0200, Ti Lyte wrote: > Wondering if the IV has anything to do with it, i know the first round > in CBC using the IV which none of the javascript clients allow you to > set. A quick glance over the code (aes.js:485..486) suggests that the first block of "ciphertext" produced by rijndaelEncrypt() is the IV. So in order to decrypt this data it should suffice to take the first block of "ciphertext", set it as IV, and decrypt the remaining blocks. Haven't tested it, though. CU Sascha -- http://sascha.silbe.org/
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux) iD8DBQFGWsQ5ebr7S6V0daMRAlBdAJ9N8ARWNBS1aB0BUssUEvdB0Zv1IwCfahaV ObHI4JhYv4gspGMB+bc47qc= =4XUN -----END PGP SIGNATURE-----