#![no_std]
#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs, unreachable_pub)]
#![forbid(unsafe_code)]
use digest::typenum::{U32, U48, U64};
pub use digest::{self, Digest};
pub mod block_api;
#[cfg(feature = "oid")]
mod oids;
mod serialize;
mod variants;
pub use variants::OutputSize;
digest::buffer_fixed!(
pub struct BashHash<OS: OutputSize>(block_api::BashHashCore<OS>);
impl: BaseFixedTraits AlgorithmName Default Clone HashMarker
Reset FixedOutputReset ZeroizeOnDrop;
);
pub type BashHash256 = BashHash<U32>;
pub type BashHash384 = BashHash<U48>;
pub type BashHash512 = BashHash<U64>;