PKCS#7 padding
Lahiru Dissanayake <[email protected]> Wed, 13 Feb 2013 15:28:55 +0800
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <CAHeAcfBCcF63VeqKdUdedkNxmow4kmvO1F2zE6wxFPSCJxHktw@mail.gmail.com> |
Hi, When using encryption contexts to encrypt data, the Cryptlib manual mentions "If you’re using a block cipher in ECB or CBC mode, the encrypted data length must be a multiple of the block size." Is there a function in Cryptlib to apply PKCS#7 padding to the data to make its length a multiple of the block size? Thanks, Lahiru _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.