Skip to first unread message

TimAI2

unread,
May 8, 2019, 8:32:11 AM5/8/19
to MIT App Inventor Forum

Peek jsEncode.gif


A clever bit of script code using the webviewstring


http://ai2.metricrat.co.uk/encode-encrypt-using-javascript-and-webviewstring


ABG

unread,
May 8, 2019, 1:01:58 PM5/8/19
to MIT App Inventor Forum
I have read the .js code,
and can  only see encoding at work.

Could you post a two way sample working .aia file?

Abg

TimAI2

unread,
May 8, 2019, 2:12:56 PM5/8/19
to MIT App Inventor Forum
You use the same script to decode

ABG

unread,
May 8, 2019, 5:20:45 PM5/8/19
to MIT App Inventor Forum
I get it now.

I did not realize that ^ in JavaScript means XOR.

ABG

ABG

unread,
May 8, 2019, 6:42:34 PM5/8/19
to MIT App Inventor Forum
I found some more citations online for different uses of the caret (^) :



(Apologies in advance)

ABG

Reply all
Reply to author
Forward
0 new messages