TokenScript icon indicating copy to clipboard operation
TokenScript copied to clipboard

Web examples client encryption

Open nicktaras opened this issue 4 years ago • 1 comments
trafficstars

nicktaras avatar Jan 08 '21 00:01 nicktaras

let's do an experiment if you generate an encryption key and not store it in the Local storage, encrypt a message, copy the encrypted (or store it in local storage), then close the browser and open it again, access the same key, can you decrypt the message? note that in the entire time you can't save the key in the local storage otherwise, it defeats the purpose of using encryption in the first place.

I am beginning to worry that the API maker in the web api didn't persist the key anywhere, making it impossible to use the same key across the session unless you manually save the key somewhere. If it is the case, the api isn't very helpful to us.

SmartLayer avatar Jan 08 '21 00:01 SmartLayer