Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'from:addr:yahoo.co.uk': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'substitution': 0.09; 'cleartext': 0.16; 'hazard': 0.16; 'massively': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'worst': 0.16; 'wrote:': 0.16; "wouldn't": 0.16; 'network,': 0.18; 'language': 0.19; '>>>': 0.20; 'machine': 0.21; 'fairly': 0.22; 'lawrence': 0.22; 'am,': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'chris': 0.26; "doesn't": 0.28; 'figured': 0.29; 'guess': 0.29; 'fri,': 0.31; 'worked': 0.31; 'language.': 0.32; 'know.': 0.34; 'could': 0.35; 'to:addr :python-list': 0.35; 'but': 0.36; 'being': 0.36; 'heard': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'level': 0.37; 'received:org': 0.38; 'end': 0.39; 'to:addr:python.org': 0.39; 'easily': 0.39; 'mark': 0.40; 'some': 0.40; 'even': 0.61; 'here.': 0.61; 'more': 0.62; 'our': 0.64; 'charset:windows-1252': 0.65; 'subject:Data': 0.66; '26,': 0.72; 'chrisa': 0.84; 'pythonistas,': 0.84; 'remained': 0.84; 'received:2': 0.93; 'secrets': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Pure Python Data Mangling or Encrypting Date: Fri, 26 Jun 2015 03:24:34 +0100 References: <558b7e85$0$1648$c3e8da3$5496439d@news.astraweb.com> <558bc912$0$2899$c3e8da3$76491128@news.astraweb.com> <558c1a7e$0$1668$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-197-151.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435285486 news.xs4all.nl 2946 [2001:888:2000:d::a6]:33950 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 4532 X-Received-Body-CRC: 334361623 Xref: csiph.com comp.lang.python:93181 On 26/06/2015 03:06, Chris Angelico wrote: > On Fri, Jun 26, 2015 at 11:17 AM, Mark Lawrence 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