Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'algorithm': 0.13; 'output': 0.15; 'disk.': 0.16; 'encryption': 0.16; 'included"': 0.16; 'install.': 0.16; 'nefarious': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.16; 'library': 0.20; 'installation': 0.23; 'header:In- Reply-To:1': 0.24; 'written': 0.24; 'header:User-Agent:1': 0.26; 'idea': 0.26; 'header:X-Complaints-To:1': 0.26; 'guess': 0.29; "i'd": 0.31; "can't": 0.32; 'problem': 0.33; 'received:comcast.net': 0.33; 'to:addr:python-list': 0.35; 'ahead': 0.35; 'really': 0.35; 'but': 0.36; 'data.': 0.36; "didn't": 0.37; 'subject:: ': 0.37; 'received:org': 0.38; 'is,': 0.38; 'pm,': 0.39; 'to:addr:python.org': 0.39; 'data': 0.40; 'where': 0.40; 'some': 0.40; 'provide': 0.61; 'charset:windows-1252': 0.65; 'subject:Data': 0.66; 'protect': 0.74; 'payload': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Randall Smith Subject: Re: Pure Python Data Mangling or Encrypting Date: Fri, 26 Jun 2015 19:23:26 -0500 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> <558d86b0$0$1659$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: c-98-251-140-107.hsd1.ms.comcast.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435364618 news.xs4all.nl 2935 [2001:888:2000:d::a6]:40722 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:93214 On 06/26/2015 04:07 PM, Johannes Bauer wrote: > You consistently were vague about wheter you want to > have encryption, authentication or obfuscation of data. I knew (possibly extra) encryption wasn't necessary at this stage, but I also knew that encryption would provide good obfuscation. Problem is, I didn't want an extra C library to install. See the original post. "... I'd like to protect the recipient against exposure to nefarious data by mangling or encrypting the data before it is written to disk. My original idea was for the recipient to encrypt using AES. But I want to keep this software pure Python "batteries included" and not require installation of other platform-dependent software ... I don't know that I really need encryption here, but some type of fast mangling algorithm where a bad actor sending a payload can't guess the output ahead of time." -Randall