Trait DigestCreate

Source
pub trait DigestCreate: DigestName {
    // Required method
    fn compute(&mut self, input: &[u8]) -> String;
}
Expand description

A trait for creating digests of an array of bytes

Required Methods§

Source

fn compute(&mut self, input: &[u8]) -> String

Compute the digest of the input bytes

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DigestCreate for Sha224

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Sha256

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Sha384

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Sha512

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Keccak224

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Keccak256

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Keccak256Full

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Keccak384

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Keccak512

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Sha3_224

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Sha3_256

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Sha3_384

Source§

fn compute(&mut self, input: &[u8]) -> String

Source§

impl DigestCreate for Sha3_512

Source§

fn compute(&mut self, input: &[u8]) -> String

Implementors§

Source§

impl DigestCreate for http_signature_normalization_actix::digest::ring::Sha256

Source§

impl DigestCreate for http_signature_normalization_actix::digest::ring::Sha384

Source§

impl DigestCreate for http_signature_normalization_actix::digest::ring::Sha512