Pure Python Data Mangling or Encrypting

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Jun 25 22:24:34 EDT 2015


On 26/06/2015 03:06, Chris Angelico wrote:
> On Fri, Jun 26, 2015 at 11:17 AM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>>> Even the famous Enigma
>>> machine was a lot more than just letter-for-letter substitution - a
>>> double letter in the cleartext wouldn't be represented by a double
>>> letter in the result - and once the machine's secrets were figured
>>> out, the day's key could be reassembled fairly readily.
>>>
>>
>> The day's key for a given network, with the Luftwaffe easily being the worst
>> offenders.  Some networks remained unbroken at the end of WWII.
>
> I was massively oversimplifying, here. But there's a reason that
> modern crypto doesn't use str.translate() level ciphers.
>
> ChrisA
>

I should know.  Ever heard of DISCON?  Like to hazard a guess as to who 
worked on it all those years ago?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list