AES encryption/decryption padding

Just starting out? Need help? Post your questions and find answers here.
Dummy
Enthusiast
Enthusiast
Posts: 162
Joined: Wed Jun 09, 2004 11:10 am
Location: Germany
Contact:

AES encryption/decryption padding

Post 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.