AES - Encryption with Crypto (node-js) / decryption with Pycrypto (python)
问题 I'm writing this question + answer because I struggled a lot (maybe because of a lack of experience), got lost in many different ways of encrypting/decrypting things with node or python. I thought maybe my case could help people in the future. What I needed to do: Get data from a form, encrypt them using Crypto (node-js) Pass the encrypted data in Python and decrypt it using PyCrypto. I chose to use the AES encryption. Here is how I started (I'm not gonna go through everything I tried): I