Decoding AES and PKCS#5 padding

38 views
Skip to first unread message

Vladislav Solovei

unread,
Apr 14, 2020, 4:04:37 AM4/14/20
to PyCryptodome
Hi.

Is it possible to remove PKCS5 padding from decrypted data?
I am trying to decode strings encrypted with AES/CBC/PKCS5Padding algorithm (Java).

using AES.MODE_CBC

But the resulting data is padded at the end
Is there an option to remove the padding?


Reply all
Reply to author
Forward
0 new messages