PublicShow sourcemd5.pl -- MD5 hashes

Compute MD5 hashes from a Prolog string. This library provides a lightweight alternative to the general secure hash interface provided by library(crypto) from the ssl package.

See also
- library(sha), library(hash_stream) and library(crypto).
Source md5_hash(+Data, -Hash, +Options) is det
Hash is the MD5 hash of Data, The conversion is controlled by Options:
encoding(+Encoding)
If Data is a sequence of character codes, this must be translated into a sequence of bytes, because that is what the hashing requires. The default encoding is utf8. The other meaningful value is octet, claiming that Data contains raw bytes.
Arguments:
Data- is either an atom, string, code-list or char-list.
Hash- is an atom holding 32 characters, representing the hash in hexadecimal notation