sha1/
lib.rs

1#![no_std]
2#![doc = include_str!("../README.md")]
3#![doc(
4    html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
5    html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
6)]
7#![cfg_attr(docsrs, feature(doc_cfg))]
8#![warn(missing_docs, unreachable_pub)]
9
10pub use digest::{self, Digest};
11
12/// Block-level types
13pub mod block_api;
14mod compress;
15mod consts;
16
17digest::buffer_fixed!(
18    /// SHA-1 hasher.
19    pub struct Sha1(block_api::Sha1Core);
20    oid: "1.3.14.3.2.26";
21    impl: FixedHashTraits;
22);