Skip to content

Tag: node.js

Translate encryption in python to node

Trying to implement these 2 functions from Python to Nodejs: This decrypt works (when I encrypt in Python, I manage to decrypt in node), but the opposite way fails. Any idea what is missing in the nodejs encrypt function? Answer If the following points are taken into account, the encryption and decryption of …