Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!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; 'model,': 0.05; 'purpose.': 0.07; 'responding': 0.07; 'answering': 0.09; 'cipher': 0.09; 'cc:addr:python-list': 0.10; 'thu,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'utterly': 0.16; 'wrote:': 0.16; 'translation': 0.16; '>>>': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'am,': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'skip:" 20': 0.26; 'data,': 0.27; 'message-id:@mail.gmail.com': 0.28; 'becomes': 0.31; 'fri,': 0.31; 'table': 0.32; 'problem': 0.33; 'steven': 0.33; 'received:google.com': 0.34; 'but': 0.36; 'statement': 0.36; 'subject:: ': 0.37; 'instead': 0.38; 'means': 0.39; 'pm,': 0.39; 'times': 0.61; 'making': 0.64; 'secure.': 0.66; 'subject:Data': 0.66; '26,': 0.72; 'chrisa': 0.84; 'start.': 0.84; 'to:none': 0.90; 'mistake': 0.91; 'incredibly': 0.96 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=u1/1pFfuoVJ9CR/F88hpfYSQ29yfPOumtMRxptFMNLo=; b=sRlmpWqh4x0UgFFH4FULZr6HGeGCdleVEKJMNbIpBfH8YGkr1C4HbWxxyMwYC1Y4Er /zc+XtmcGTgt3x0YDk/JlVvK55/DcX+ML6H+PrGpMTmFSWNyse/2wtC3w3nLFsJHhjCN q3tGCxNWwgcK/9yo8DmdgKr0Ph6kIEueIsXvnF0Or+BtLviZKNG/c5XW1DT5G5OBPuyY 9MbMY/W9x6Vlo4MIBtfQ7Hx2llSkApCgX2rKfmkWF9pH2ijPSa8WlRS1sxKtjvEj3Ghr RdPFTSdUSYA11p9fgV8V9JakdgWgq2/xO46QIVLmyPiZxj6Yz99tgUt3c2WvvlFybAL8 fnvw== MIME-Version: 1.0 X-Received: by 10.43.0.67 with SMTP id nl3mr574991icb.59.1435284309688; Thu, 25 Jun 2015 19:05:09 -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:05:09 +1000 Subject: Re: Pure Python Data Mangling or Encrypting From: Chris Angelico Cc: Python 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435284613 news.xs4all.nl 2899 [2001:888:2000:d::a6]:59303 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93180 On Fri, Jun 26, 2015 at 11:01 AM, Ian Kelly wrote: > On Thu, Jun 25, 2015 at 6:33 PM, Chris Angelico wrote: >> On Fri, Jun 26, 2015 at 1:26 AM, Jon Ribbens >> wrote: >>> Well, it means you need to send 256 times as much data, which is a >>> start. If you're instead using a 256-byte translation table then >>> an attack becomes utterly impractical. >>> >> >> Utterly impractical? > > You're making the same mistake that Steven did in misunderstanding the > threat model. To be honest, I wasn't actually answering anything about the original threat model, but only responding to the statement that a 256-byte "anything-to-anything" cipher is somehow incredibly secure. It isn't, but that might not be a problem for the original purpose. ChrisA