skip to Main Content

Decrypt AES-256-CBC in php

I encrypt in Python this way: from Crypto.Cipher import AES from base64 import b64decode, b64encode BLOCK_SIZE = 16 pad = lambda s: s + (BLOCK_SIZE - len(s.encode()) % BLOCK_SIZE) * chr(BLOCK_SIZE - len(s.encode()) % BLOCK_SIZE) unpad = lambda s: s[:-ord(s[len(s)…

VIEW QUESTION
Back To Top
Search