REPOST: using codecs for encryption?
Joshua Muskovitz
joshm at taconic.net
Thu Dec 27 23:20:46 EST 2001
More information about the Python-list mailing list
Thu Dec 27 23:20:46 EST 2001
- Previous message (by thread): set decimal place
- Next message (by thread): re module question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This just in, from the top of my head... Has anyone thought about implementing encryption libraries (des, pgp, &c) as codecs in 2.2? Would there be a way to pass a key (or keypair) to the codec? The codec would also have to maintain some sort of state somehow. I just think it would be really cool to be able to say something like: c = DESCodec(key) plaintext = 'shh, here's the secret formula...' ciphertext = plaintext.encode(c) ... c.resetState() plaintext = ciphertext.decode(c) -- josh -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =----- ========= WAS CANCELLED BY =======: Path: news.sol.net!spool1-milwwi.newsops.execpc.com!newsfeeds.sol.net!newspump.sol.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!enews.sgi.com!news-xfer.nuri.net!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r From: "Joshua Muskovitz" <joshm at taconic.net> Newsgroups: comp.lang.python Subject: cmsg cancel <3c2bf123_2 at corp.newsgroups.com> Control: cancel <3c2bf123_2 at corp.newsgroups.com> Date: Mon, 31 Dec 2001 04:49:38 GMT Organization: A poorly-installed InterNetNews site Lines: 2 Message-ID: <cancel.3c2bf123_2 at corp.newsgroups.com> NNTP-Posting-Host: 211.57.49.2 X-Trace: news2.kornet.net 1009775426 27193 211.57.49.2 (31 Dec 2001 05:10:26 GMT) X-Complaints-To: usenet at news2.kornet.net NNTP-Posting-Date: Mon, 31 Dec 2001 05:10:26 +0000 (UTC) X-No-Archive: yes X-Unac4ncel: yes X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999) This message was cancelled from within Mozilla.
- Previous message (by thread): set decimal place
- Next message (by thread): re module question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list