Struct crypto::ripemd160::Ripemd160[][src]

pub struct Ripemd160 { /* fields omitted */ }

Structure representing the state of a Ripemd160 computation

Methods

impl Ripemd160
[src]

Trait Implementations

impl Clone for Ripemd160
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Ripemd160
[src]

impl Digest for Ripemd160
[src]

Resets the hash to its original state also clearing the buffer. To be used in between hashing separate messages to avoid having to recreate and allocate the whole structure.

Adds the input msg to the hash. This method can be called repeatedly for use with streaming messages.

Returns the resulting digest of the entire message. Note: out must be at least 20 bytes (160 bits)

Returns the size of the digest in bits

Returns the block size the hash operates on 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 Ripemd160

impl Sync for Ripemd160