An implementation of the SHA-1 cryptographic hash.
First create a sha1
object using the sha1
constructor, then
feed it input using the input
or input_str
methods, which may be
called any number of times.
After the entire input has been fed to the hash read the result using
the result
or result_str
methods.
The sha1
object may be reused to create multiple hashes by calling
the reset
method.
Sha1 | Structure representing the state of a Sha1 computation |
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).