Lines Matching refs:sha
2 :mod:`sha` --- SHA-1 message digest algorithm
5 .. module:: sha
21 used in the same way as the :mod:`md5` module: use :func:`new` to create an sha
30 Return a new sha object. If *string* is present, the method call
34 of the sha objects returned by :func:`new`:
47 An sha object has the same methods as md5 objects:
50 .. method:: sha.update(arg)
52 Update the sha object with the string *arg*. Repeated calls are equivalent to a
57 .. method:: sha.digest()
64 .. method:: sha.hexdigest()
71 .. method:: sha.copy()
73 Return a copy ("clone") of the sha object. This can be used to efficiently