- 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 isoctet
, claiming that Data contains raw bytes.
Data | is either an atom, string, code-list or char-list. |
Hash | is an atom holding 32 characters, representing the hash in hexadecimal notation |