Secure hashes.
Create a new context from an algorithm name. Supported names are "sha1" and "sha256".
Return the final digest of ctx
as an ASCII string. ctx
cannot be used after this.
Return the digest as a base-32-encoded ASCII string (with no padding characters)
Read until the end of the channel, adding each byte to the digest.