Pure Python Data Mangling or Encrypting

Chris Angelico rosuav at gmail.com
Thu Jun 25 22:06:38 EDT 2015


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



More information about the Python-list mailing list