Difference between revisions of "Team:Groningen/Coding"

Line 224: Line 224:
 
}
 
}
 
 
return {idx: (idx + 1) % stages.length, data: data, display: disp};
+
return {stage: cur, idx: (idx + 1) % stages.length, data: data, display: disp};
 
}
 
}
 
 
Line 231: Line 231:
 
 
 
elEnc.value = currentStage.display;
 
elEnc.value = currentStage.display;
elCur.innerHTML = stages[currentStage.idx].name;
+
elCur.innerHTML = currentStage.stage.name;
elDesc.innerHTML = stages[currentStage.idx].description;
+
elDesc.innerHTML = currentStage.stage.description;
 
}
 
}
 
 

Revision as of 14:29, 26 August 2016

CryptoGE®M
Team
Project
Biology
Computing
Human Practice
Acknowledgements

SpyGEM coding

Encryption


Enter the message you want to secure here

Message

Key

Enter your secret key/password here


Plain text


Oop top