Encryption uses PKCS padding like openssl.
Decryption unpads PKCS padding like openssl.