Talk:Running key cipher
{{WikiProject banner shell|class=|
{{WikiProject Cryptography|importance=}}
}}
== Cipher text example ==
I reverted a bad edit with the incorrect cipher text. Here's some basic python code showing the calculation
>>> f=lambda (x,y):chr((ord(x)-ord('a')+ord(y)-ord('A')) % 26 + ord('A'))
>>> f(('f', 'E'))
'J'
>>> map(f,zip(list('fleeatonce'),list('ERRORSCANO')))
['J', 'C', 'V', 'S', 'R', 'L', 'Q', 'N', 'P', 'S']
Note I only had to revert the bad first four characters of the cipher-string; the rest was ok originally. Jimbobl (talk) 14:44, 7 September 2011 (UTC)