using codecs for encryption?

Gillou nospam at bigfoot.com
Fri Dec 28 16:47:52 EST 2001


Yes,

Have a look to M2CRYPTO,

http://www.post1.com/home/ngps/m2/

"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)
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! =-----





More information about the Python-list mailing list