Hi,

I think it would be nice if you could use the hashlib in one line:

hashlib.sha256().update('abc').hexdigest()

Unfortunately update() returns None.

Is there a way to convert a string to the hexdigest of sha256 in one line?

  Thomas


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to