Struct openssl::sha::Sha1[][src]

pub struct Sha1(_);

An object which calculates a SHA1 hash of some data.

Warning

SHA1 is known to be insecure - it should not be used unless required for compatibility with existing systems.

Methods

impl Sha1
[src]

Creates a new hasher.

Feeds some data into the hasher.

This can be called multiple times.

Returns the hash of the data.

Auto Trait Implementations

impl Send for Sha1

impl Sync for Sha1