Struct crypto::sha1::Sha1[][src]

pub struct Sha1 { /* fields omitted */ }

Structure representing the state of a Sha1 computation

Methods

impl Sha1
[src]

Construct a sha object

Trait Implementations

impl Clone for Sha1
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Sha1
[src]

impl Digest for Sha1
[src]

Reset the digest. This method must be called after result() and before supplying more data. Read more

Provide message data. Read more

Retrieve the digest result. This method may be called multiple times. Read more

Get the output size in bits.

Get the block size in bytes.

Get the output size in bytes.

Convenience function that feeds a string into a digest. Read more

Convenience function that retrieves the result of a digest as a String in hexadecimal format. Read more

Auto Trait Implementations

impl Send for Sha1

impl Sync for Sha1