Skip to content
Advertisement

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 example: For reasons of space, a 1024 bits key is used.

WIX Velo – Extracting Domain from User Email – Regex Issue

I am trying to retrieve the domain of my site users in order to assign them specific organisation based privileges. If their email address is email@example.com, I want to extract example. If it’s email@ex.ample.com I want to extract ex.ample The regex I have is (?<=@)[^.].[^.](?=.) But I’m struggling to integrate this into the code. My code as follows: I’m getting

Wix Code / Why doesn’t the select all button select all?

I have select all and remove all buttons for check boxes. You can see the code below. But the error is that he should select all of them (not all the options in the check boxes.) Why doesn’t the check box select all the options? what is the lack Detail https://www.wix.com/velo/forum/community-discussion/why-doesn-t-the-select-all-button-select-all [![enter image description here][1]][1] My Code Answer https://www.wix.com/velo/forum/community-discussion/why-doesn-t-the-select-all-button-select-all?appSectionParams=%7B%22origin%22%3A%22member_posts_page%22%7D Solution

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 redeclaring postalcode inside save_postal_code() instead of updating its value.

Advertisement