<snapdata remixID="10232486"><project name="U4L2-Caesar" app="Snap! 6, https://snap.berkeley.edu" version="1"><notes></notes><thumbnail>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAB4CAYAAAB1ovlvAAAAAXNSR0IArs4c6QAADIpJREFUeAHtnQlQVEcax/8z3IgCrnguh4Cg4rEKRuOxiLLZqvUoxdJaNIc5yrXclDHZilta2dojHpiqrZi4iZbGyGbNmjK60dp4xKvEQkVLjQceYEYEWTzwQOVmmNnuN77HPIZr2h6O4euqobvf+76vu3/86fdevzcPg5UlUCICbUTA2EbtUrNEQCFAAiQhtCkBz4ZaLygowOXLl2GxWBra7ZJtISEhSEhIgNFIfxMuAdxOgxrqnwPu3bsXMTExUrp7e8+nyD3072ZjvbKjEAW3ChW78vJyDBs2rFkfMnAPAroZMDs7GxEREaiurkbtw1x4dG9ciA9zz+Ly3XL0ihuLmO4eGg1+TWMwGJT6oFvfYcRgf6Xs+ZsvYN77llL2mrQUNUc+0nwqz36H6qDhSp371tTUwMvLS9tPBfcloBMgP+zGxsYqoy0rOoPSg5/g9P/uo9aUjfsBQPAdA2a8vxyZBw5g9vqj+KVPKpbHL8S+KgOqLlnxleEVWLEVP547x2JY4W20CZEH9E0cBSQWKNuBSp0A+aGei15NxcXF6Nu3r1ql3I0J6E64uBCqqqpsnxozas1PkJw0BSFMpnFxMzB91gvYue0bJE0aD+9bOQoW0xkDxk6bjR7RvBoFAwY/i1EnKMXQnMey20qx/g+LxVrXLmufUuchoDsHLCsrwzll9tID2PdOImZ8kgEuDR9PI6rMFniy3Mxynvy6dEEF862fhv93HuwmQWV3wJp8lP4xXGdaNWUVrhhs2/gF0Lx583T7qeK+BHQC5MNcuXIlxowZI2XE8fEjERQY1GysjGPHmJjNePDgAebMmdOsPRm4DwEHAfKhtcUyDG+XX3gMHToUffr04VVKnYCAgwBlLsNwfqG9Q7A1NapZlMmL/46a/uMUu8zMTMyfP79ZHzLo+AR0AuTLMPYLwWvXrseSJQvYKG3LLP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QAIU40ZekgiQACWBpDBiBEiAYtzISxIBEqAkkBRGjAAJUIwbeUkiQAKUBJLCiBEgAYpxIy9JBEiAkkBSGDEC/weJd8n6dVuGWQAAAABJRU5ErkJggg==</thumbnail><stage name="Stage" width="480" height="360" costume="0" color="255,255,255,1" tempo="60" threadsafe="false" penlog="false" volume="100" pan="0" lines="round" ternary="false" hyperops="true" codify="false" inheritance="true" sublistIDs="false" scheduled="false" id="1"><pentrails>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAFoCAYAAACPNyggAAAAAXNSR0IArs4c6QAAC99JREFUeAHt0DEBAAAAwqD1T20MH4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDB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gwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4DAyN/gABHhb3AgAAAABJRU5ErkJggg==</pentrails><costumes><list struct="atomic" id="2"></list></costumes><sounds><list struct="atomic" id="3"></list></sounds><variables></variables><blocks></blocks><scripts></scripts><sprites><sprite name="Sprite" idx="1" x="105" y="-33" heading="90" scale="1" volume="100" pan="0" rotation="1" draggable="true" costume="0" color="80,80,80,1" pen="tip" id="8"><costumes><list struct="atomic" id="9"></list></costumes><sounds><list struct="atomic" id="10"></list></sounds><blocks></blocks><variables></variables><scripts><script x="244" y="180.00000000000003"><block s="receiveGo"></block><block s="doSetVar"><l>InputText</l><l></l></block><block s="doSetVar"><l>ShiftValue</l><l></l></block><block s="doSetVar"><l>OutputText</l><l></l></block><block s="gotoXY"><l>105</l><l>-33</l></block><block s="doAsk"><l>Enter your text</l></block><block s="doSetVar"><l>InputText</l><block s="getLastAnswer"></block></block><block s="doUntil"><block s="reportIsA"><block s="getLastAnswer"></block><l><option>number</option></l></block><script><block s="doAsk"><l>What is the shift value for the Caesar Cipher? Enter a whole number.</l></block><block s="doSetVar"><l>ShiftValue</l><block s="getLastAnswer"></block></block></script></block><block s="doAsk"><l>Encipher or Decipher?</l></block><block s="doIf"><block s="reportEquals"><block s="reportLetter"><l>1</l><block s="getLastAnswer"></block></block><l>D</l></block><script><block s="doSetVar"><l>ShiftValue</l><block s="reportDifference"><l>0</l><block var="ShiftValue"/></block></block></script></block><block s="doSetVar"><l>OutputText</l><block s="reportNewList"><list><custom-block s="Encode %s %n"><block var="InputText"/><block var="ShiftValue"/></custom-block></list></block></block></script></scripts></sprite><watcher var="InputText" style="normal" x="10" y="10" color="243,118,29"/><watcher var="ShiftValue" style="normal" x="10" y="31.000001999999995" color="243,118,29"/><watcher var="OutputText" style="normal" x="10" y="52.00000399999999" color="243,118,29" extX="80.00000000000011" extY="70"/></sprites></stage><hidden></hidden><headers></headers><code></code><blocks><block-definition s="Encode One Character %&apos;char&apos; %&apos;shift&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%n"></input></inputs><script><block s="doReport"><block s="reportUnicodeAsLetter"><block s="reportSum"><block s="reportUnicode"><block var="char"/></block><block var="shift"/></block></block></block></script></block-definition><block-definition s="Encode %&apos;text&apos; %&apos;shift&apos;" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s"></input><input type="%n"></input></inputs><script><block s="doDeclareVariables"><list><l>encodedText</l></list></block><block s="doSetVar"><l>encodedText</l><l></l></block><block s="doFor"><l>i</l><l>1</l><block s="reportStringSize"><block var="text"/></block><script><block s="doSetVar"><l>encodedText</l><block s="reportJoinWords"><list><block var="encodedText"/><custom-block s="Encode One Character %s %n"><block s="reportLetter"><block var="i"/><block var="text"/></block><block var="shift"/></custom-block></list></block></block></script></block><block s="doReport"><block var="encodedText"/></block></script></block-definition></blocks><variables><variable name="InputText"><l>fql</l></variable><variable name="ShiftValue"><l>-2</l></variable><variable name="OutputText"><list struct="atomic" id="125">doj</list></variable></variables></project><media name="U4L2-Caesar" app="Snap! 6, https://snap.berkeley.edu" version="1"></media></snapdata>