[EMAIL PROTECTED] wrote:
This feels a bit silly, but I am trying to encrypt some simple text with the new hashlib library and then decrypt it back into text. I can do this with M2Crypto RC4, but not the new hashlib. Could someone give me a quick example.

hashlib does not do encryption. It implements cryptographic hash functions which, while related to encryption algorithms and sometimes are a primitive component of such algorithms, do not actually encrypt and decrypt messages.

  http://en.wikipedia.org/wiki/Cryptographic_hash_function

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to