Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!bcyclone01.am1.xlned.com!bcyclone01.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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'substitution': 0.09; 'cc:addr:python-list': 0.10; 'cleartext': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'great!': 0.16; 'guessing': 0.16; 'hazard': 0.16; 'massively': 0.16; 'stuff,': 0.16; 'worst': 0.16; 'wrote:': 0.16; "wouldn't": 0.16; 'network,': 0.18; '>>>': 0.20; 'machine': 0.21; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'fairly': 0.22; "aren't": 0.22; 'lawrence': 0.22; 'am,': 0.23; '2015': 0.23; 'header:In-Reply- To:1': 0.24; 'sort': 0.25; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.28; "doesn't": 0.28; "i'm": 0.29; 'figured': 0.29; 'guess': 0.29; 'no,': 0.29; 'fri,': 0.31; 'worked': 0.31; 'know.': 0.34; 'received:google.com': 0.34; 'could': 0.35; 'but': 0.36; 'being': 0.36; 'heard': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'level': 0.37; 'end': 0.39; 'means': 0.39; 'pm,': 0.39; 'things': 0.39; 'easily': 0.39; 'mark': 0.40; 'some': 0.40; 'even': 0.61; 'here.': 0.61; 'more': 0.62; 'subject:Data': 0.66; '26,': 0.72; 'chrisa': 0.84; 'remained': 0.84; 'to:none': 0.90; 'secrets': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=vX03ke06ToS67+2FYylRW+/p9vbtzpxPj3hq0CbRAn8=; b=zhSybgxziL/siTg2Vf5SBhbfprYBhwMtWFPK9V3spxXTt8NTehObrda/Gjhhq2WhZt /BSIlbNGlxK2LDz+nCsb+o9nyqbHf81QnUXvveS0RdTqwj8y95VvVCr9A+LSfMATdefp OKSIDAvLMaahgec8nfcmPVkI23jQBbbs1vO7RR83wnqmPgGrVe+g5fCMtoKzL8puN8Ew 6QA5cvmJYlb7ctPKTJV8hp2lTYlOmolYteZ6G+QT09vJgs8yPUNL+7MbrW6KoxMMzIIx R7ls2D1O0YnvJL6HzWMbwaF1pugSf0vBqlX/oASlhT+xMO+/mtiCfXJt6kiGNJTiusgA LsYg== MIME-Version: 1.0 X-Received: by 10.107.131.25 with SMTP id f25mr38590388iod.53.1435285746389; Thu, 25 Jun 2015 19:29:06 -0700 (PDT) In-Reply-To: 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> Date: Fri, 26 Jun 2015 12:29:06 +1000 Subject: Re: Pure Python Data Mangling or Encrypting From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435285755 news.xs4all.nl 2963 [2001:888:2000:d::a6]:38080 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 5075 X-Received-Body-CRC: 2954911026 Xref: csiph.com comp.lang.python:93182 On Fri, Jun 26, 2015 at 12:24 PM, Mark Lawrence wrote: > 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? No, not familiar with it. But I'm guessing you have the crypto background to know all this stuff, which means you aren't the sort of person I need to explain things to. Great! :) ChrisA