Line 206: | Line 206: | ||
function advanceStage(prev){ | function advanceStage(prev){ | ||
− | var cur = stages[idx] | + | var prev && prev.idx || 0, |
− | + | cur = stages[idx], | |
data = prev.data, | data = prev.data, | ||
disp; | disp; | ||
Line 224: | Line 224: | ||
} | } | ||
− | return {idx: idx, data: data, display: disp}; | + | return {idx: (idx + 1) % stages.length, data: data, display: disp}; |
} | } | ||
Revision as of 14:27, 26 August 2016
Encryption
Enter the message you want to secure here
Message
Key
Enter your secret key/password here