[go: up one dir, main page]

Struct ring::digest::Digest [] [src]

pub struct Digest {
    // some fields omitted
}

A calculated digest value.

Use as_ref to get the value as a &[u8].

Methods

impl Digest
[src]

fn algorithm(&self) -> &'static Algorithm

The algorithm that was used to calculate the digest value.

Trait Implementations

impl AsRef<[u8]> for Digest
[src]

fn as_ref(&self) -> &[u8]

Performs the conversion.

impl Debug for Digest
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.