Next: Calculate dominator tree, Previous: Combination library, Up: Library modules - Utilities [Contents][Index]
util.digest
- Message digester frameworkThis module provides a base class and common interface for message digest algorithms, such as MD5 (see MD5 message digest) and SHA (see SHA message digest).
{util.digest} A metaclass of message digest algorithm implementation.
Specifies the block size (in bytes), which is specific to each algorithm. (This is a slot for each class object that implements the algorithm, not for instance of such classes. Only the author of such digest classes needs to care. See ext/digest/sha.scm in the source tree for more details.)
{util.digest} A base class of message digest algorithm implementation.
The concrete subclass of message digest algorithm has to implement the following methods.
{util.digest} Takes the instance of massage-digest algorithm, and updates it with the data data, which can be either a u8vector or a (possibly incomplete) string.
{util.digest} Finalizes the instance of message-digest algorithm, and returns the digest result in an incomplete string.
{util.digest} A wrapper of digest routines. Given message-digest algorithm class, this function reads the input data from current input port until EOF, and returns the digest result in an incomplete string.
{util.digest} A wrapper of digest routines. Given message-digest algorithm class, this function reads the input data from string, and returns the digest result in an incomplete string.
{util.digest} An utility procedure. Given the result of digest, digest-result, which can be an u8vector or a (possibly incomplete) string, converts it to a hexified string.
Next: Calculate dominator tree, Previous: Combination library, Up: Library modules - Utilities [Contents][Index]