Debian Codegraph @

debian/rust-vendor/sha1/src/lib.rs

raw
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
10 pub use digest::{self, Digest};
11
12 /// Block-level types
13 pub mod block_api;
14 mod compress;
15 mod consts;
16
17 digest::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 );