Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Digest::SHA

Native Rust implementation built into the interpreter. Runtime: P5. See original documentation for the full Perl reference.

Functions

add

add_bits

addfile

not fully implemented, returns self.

algorithm

return algorithm number.

b64digest

base64 digest (no padding), resets context.

clone

clone the context.

digest

binary digest, resets context.

dump

getstate

serialize state to Perl-compatible string.

hashsize

return hash size in bits.

hexdigest

hex digest, resets context.

load

new

putstate

reset