Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93094

Re: Pure Python Data Mangling or Encrypting

From Randall Smith <randall@tnr.cc>
Subject Re: Pure Python Data Mangling or Encrypting
Date 2015-06-24 13:24 -0500
References <mmcagn$aa5$1@ger.gmane.org> <CABicbJ+5YgGzkGwFpOyFMfsteUXqMnPjS615=fU6ZCNeSyJuTw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.27.1435170306.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 06/24/2015 02:44 AM, Devin Jeanpierre wrote:
> How about a random substitution cipher? This will be ultra-weak, but
> fast (using bytes.translate/bytes.maketrans) and seems to be the kind
> of thing you're asking for.
>
> -- Devin


I tried this out and it seems to be just what I need.  Thanks Devin!

It's pure Python, fast, and mangles the data sufficiently.

--Randall

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Pure Python Data Mangling or Encrypting Randall Smith <randall@tnr.cc> - 2015-06-24 13:24 -0500

csiph-web