Page 1 of 1

AES encryption/decryption padding

Posted: Thu Jan 14, 2010 8:22 pm
by Dummy
Hi I'm currently working on a project where a Java server and a PureBasic client communicate using AES CBC encryption.

As the documentation about the AES Cipher lib of PureBasic currently is very basic I wanted to ask if anybody knows how PureBasic does the padding for input data that has a length which is not a multiple of 16. I know I can simply do the padding on my own as a workaround, but I'd still like to know which method PureBasic itself uses.