Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'decodes': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'substitution': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'storing': 0.16; 'wrote:': 0.16; '(the': 0.22; 'thanks.': 0.22; '(on': 0.22; 'ok.': 0.22; 'sends': 0.22; 'header:In-Reply-To:1': 0.24; 'testing': 0.25; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'data,': 0.27; "doesn't": 0.28; "i'm": 0.29; 'random': 0.29; 'point': 0.33; 'received:comcast.net': 0.33; 'server': 0.34; 'to:addr:python- list': 0.35; 'but': 0.36; 'there': 0.36; 'statement': 0.36; 'quite': 0.37; 'subject:: ': 0.37; 'received:org': 0.38; 'pm,': 0.39; 'to:addr:python.org': 0.39; 'seem': 0.39; 'data': 0.40; 'well.': 0.40; 'your': 0.60; 'charset:windows-1252': 0.65; 'subject:Data': 0.66; 'edwards': 0.91; 'request),': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Randall Smith Subject: Re: Pure Python Data Mangling or Encrypting Date: Wed, 24 Jun 2015 18:13:06 -0500 References: <558a9649$0$1675$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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435187595 news.xs4all.nl 2888 [2001:888:2000:d::a6]:47954 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3523 X-Received-Body-CRC: 2687886852 Xref: csiph.com comp.lang.python:93107 On 06/24/2015 04:24 PM, Grant Edwards wrote: > > OK. But if the recipient (the server) mangles the data and then never > unmangles or reads the data, there doesn't seem to be any point in > storing it. I must be misunderstanding your statement that the data > is never read/unmangled. > When the storage server sends the data (on request), it decodes the data before sending. I'm currently testing this on a Raspberry PI using a random substitution with bytearray.maketrans and bytearray.translate on Raspberry PI and it is working quite well. Thanks. -Randall