AES Between Python, Go, Javascript(NodeJS) and PHP

AES Wikipedia: https://en.wikipedia.org/wiki/Advanced_Encryption_Standard. AES needs Key, IV and PKCS. Use 256 bits key length, Python/Go can auto choice by key length your passed. Named `MCRYPT_RIJNDAEL_128` in PHP5, Nodejs/PHP7.1 is aes-256-cbc. Use CBC mode due to ECB no IV. Key is `AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA` (256 bits),IV is `AAAAAAAAAAAAAAAA`(128bits). Python use pycrypto(pip install pycrypto),NodeJS require crypto(npm install crypto),PHP5 need …

Continue Reading