using codecs for encryption?
nospam at bigfoot.com
Fri Dec 28 22:47:52 CET 2001
Have a look to M2CRYPTO,
"Joshua Muskovitz" <joshm at taconic.net> a écrit dans le message news:
3c2bf123_2 at corp.newsgroups.com...
> This just in, from the top of my head...
> Has anyone thought about implementing encryption libraries (des, pgp, &c)
> 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)
> 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! =-----
More information about the Python-list