Struct ring::digest::Algorithm
[−]
[src]
pub struct Algorithm { pub output_len: usize, pub chaining_len: usize, pub block_len: usize, pub nid: int, // some fields omitted }
A digest algorithm.
C analog: EVP_MD
Fields
output_len | C analog: |
chaining_len | The size of the chaining value of the digest function, in bytes. For
non-truncated algorithms (SHA-1, SHA-256, SHA-512), this is equal to
|
block_len | C analog: |
nid | The OpenSSL/BoringSSL NID for the algorithm. For all the algorithms
defined in this module, |