ScratchData LogoScratchData
Back to RadthorDax's profile

String Encoder for Cloud Variables

RARadthorDax•Created October 12, 2013
String Encoder for Cloud Variables
9
8
410 views
View on Scratch

Instructions

Encodes and Decodes strings to a number format (which can be saved in cloud variables). Supports: - Upper and Lower Case letters - Numbers - Symbols

Description

Each character is represented by a 2-digit number, so the length of the string you want to encode WILL double. Can encode at 15 characters per second, and decode at 200,000 characters per second. The massive difference is caused by the extra work in determining the case of letters during encoding. The scripts are spread out a bit in order to present a better user interface for this prototype. For detecting the case of a letter, I used the Case Sensing article on the Scratch Wiki: http://wiki.scratch.mit.edu/wiki/Case_Sensing

Project Details

Project ID13176341
CreatedOctober 12, 2013
Last ModifiedJanuary 1, 2014
SharedOctober 13, 2013
Visibilityvisible
CommentsAllowed