Re: AES in M2Crypto advice
"Jason H. Smith" <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 31 May 2003 01:36 pm, Jason H. Smith wrote: > Thus far, I am basically using this procedure: That doesn't work because the length of the output of the AES function will always be greater than the length of the input, since the algorithm allows any size input. In the last block, it is presumably storing extra metadata that tells itself what to truncate on decryption. So, each iteration of my procedure will throw in extra data. Using aes_128_cbc, my output image should be at most 16 bytes larger than the hard drive. So how can I use M2Crypto AES to encrypt something which is many gigabytes in size? Thanks. -- GPG: 03EE 9EB8 E500 874A F509 7B95 9B9A 84A1 26E9 4F79 http://www.ece.utexas.edu/~jhs/public_key.gpg
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+2JkMm5qEoSbpT3kRAk6hAJ4roRJUmDosGIzk5Trngu9afKhapACdEb/s o9C8oBZBHMXT1Z8NjAecR+0= =gqXe -----END PGP SIGNATURE-----