[−][src]Trait http_sig::HttpDigest
Implementations of this trait correspond to digest algorithms listed here: https://www.iana.org/assignments/http-dig-alg/http-dig-alg.xhtml
Required methods
fn name(&self) -> &str
Must return the name exactly as specified in the above list of HTTP digest algorithms.
fn http_digest(&self, bytes_to_digest: &[u8]) -> String
Returns the encoded digest, ready for inclusion in the HTTP Digest header. The encoding to use is specified in the above list of HTTP digest algorithms.