ScratchData LogoScratchData
Back to -AuronLabs-'s profile

Text Encoder/Decoder (not case sensitive)

-A-AuronLabs-•Created July 18, 2018
Text Encoder/Decoder (not case sensitive)
5
3
93 views
View on Scratch

Description

This scripts encodes text into numbers and it's also able to decode the text again. But it's not case sensitive, this means that if you encode "AiBCw78p5" it will decode it as "aibcw78p5" (these are just random examples) It can be used for highscore engines so you can see who made a score or something, cloud variables can just be stored as numbers so if you want text in the cloud, you should encode it before. After that, you can save every kind of text you want, names, etc. In this case i used the "username" block so it encodes your username and then decodes it, it also shows the original/encoded/decoded versions of the text. How it works: I used a list for every character i want it to encode or decode (abcdefghijklmnopqrstuvwxyz0123456789-_) and then it adds the value of every letter to a variable. It does something similar when decoding. I made everything, if you want to use this engine somewhere, tell me please, you don't have to give credit but it's appreciated. I got inspiration from @griffpatch and @TheLogFather

Project Details

Project ID236705063
CreatedJuly 18, 2018
Last ModifiedJuly 18, 2018
SharedJuly 18, 2018
Visibilityvisible
CommentsAllowed