Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for 
change notification.

The "Security_Features_Overview" page has been changed by PaulOkstad:
http://wiki.apache.org/couchdb/Security_Features_Overview?action=diff&rev1=27&rev2=28

Comment:
added comments to python code

  {{{
  >>> import hashlib
  >>> h=hashlib.sha1()
- >>> h.update('salt')
- >>> h.update('mypassword')
+ >>> h.update('salt')       # order is important, salt goes first
+ >>> h.update('mypassword') # password comes second
  >>> h.digest()
  '_\xba\x95\x82\xb4\xb7\xa1[+g\x9f\xf0`_\x1dnn\x82\x95\xcf'
  >>> h.hexdigest()

Reply via email to