person( 1 ).toLowerCase() randRange(1,25) applyCaesar(M,SHIFT) 0 25

person(2) is expecting to receive an encrypted message with the name of one of his classmates. He knows the message will be encrypted with a Caesar cipher using a shift of `SHIFT`. When he returns to his desk, he finds a piece of paper with the following message on it:

person(2) is expecting to receive an encrypted message with the name of one of her classmates. She knows the message will be encrypted with a Caesar cipher using a shift of `SHIFT`. When she returns to her desk, she finds a piece of paper with the following message on it:

C

Help person(2) crack the code, by typing the decrypted message in the answer box using all lowercase letters.

You can use the below slider to help you decode the message.
Slide the orange dot to shift the encrypted alphabet

Encrypted Alphabet
var indent = 1; init({ range: [ [LOWER_BOUND - 0.5, UPPER_BOUND * indent + 0.5], [-1, 1] ], scale: [19, 40] }); style({arrows: ""}); line( [ 0, 0 ], [ UPPER_BOUND * indent, 0 ] ); style({arrows: ""}); line( [ 0, 0 ], [ LOWER_BOUND, 0 ] ); var myLabels = new Array(); style({arrows: ""}); for ( var x = LOWER_BOUND; x <= UPPER_BOUND; x+=1 ) { var markLength; x % 5 === 0 ? markLength = 0.2 : markLength = 0.1 line( [ x * indent, -markLength ], [ x * indent, markLength ] ); label( [ x * indent, 0.53 ], "abcdefghijklmnopqrstuvwxyz"[x], "center", false); myLabels[x] = label( [ x * indent, -0.53 ], "abcdefghijklmnopqrstuvwxyz"[x], "center", false); } addMouseLayer(); graph.movablePoint = addMovablePoint({ constraints: { constrainY: true }, snapX: indent }); graph.movablePoint.onMove = function( x, y ) { for ( var i = 0; i <= UPPER_BOUND; i+=1 ) { myLabels[i].remove(); myLabels[i] = label( [ i , -0.53 ], "abcdefghijklmnopqrstuvwxyz"[abs((i-x)+26) % 26], "center", false); } return [ min( max( LOWER_BOUND, x ), UPPER_BOUND * indent ), y ]; };
Original Alphabet
M

Since the message was encrypted by shifting each letter right by `SHIFT`, to decrypt it we need to shift each letter left by `SHIFT`.

If we take the first letter C[0] and shift it left by `SHIFT`, we get the letter M[0].

If we take the second letter C[1] and shift it left by `SHIFT`, we get the letter M[1].

Continuing this for each letter, the decrypted message is: “M”