Struct ring::digest::Digest [−][src]
A calculated digest value.
Use as_ref
to get the value as a &[u8]
.
Methods
impl Digest
[src]
[−]
impl Digest
pub fn algorithm(&self) -> &'static Algorithm
[src]
[−]
pub fn algorithm(&self) -> &'static Algorithm
The algorithm that was used to calculate the digest value.
Trait Implementations
impl Clone for Digest
[src]
[+]
impl Clone for Digest
impl Copy for Digest
[src]
impl Copy for Digest
impl AsRef<[u8]> for Digest
[src]
[+]
impl AsRef<[u8]> for Digest
impl Debug for Digest
[src]
[+]
impl Debug for Digest