Skip to content

Tag: velo

rsa encryption with javascrypt decrypt in python

I’m trying to encrypt using Wix-Velo in javascript using hybrid-crypto-js, and decrypt using python using PKCS1_v1_5 and I’m getting incorrect length error. This is my code in Javascript: In python: Answer The easiest way to explain this is with an example. The following key pair is used for the e…

Not able to change value of Global var from inside function

I tried using this solution but it didn’t work for me. In my case I am trying to save a variable using 1 function and call it from another The save_postal_code function logs the correct value, but the get_postal_code function doesn’t. I don’t know what I am doing wrong. Answer You’re r…