Skip to content

Commit 821a684

Browse files
committed
Point at HMAC hash computation from library(crypto),
1 parent 0f18f24 commit 821a684

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

clib.doc

+6-2
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,9 @@ The current library supports all 5 approved algorithms, both computing
293293
the hash-key from data and the \jargon{hash Message Authentication Code}
294294
(HMAC).
295295

296-
A general secure hash interface is provided by \pllib{crypto}, part of
297-
the \href{http://www.swi-prolog.org/pldoc/package/ssl.html}{ssl~package}.
296+
A general comprehensive hash interface is provided by \pllib{crypto},
297+
part of the
298+
\href{http://www.swi-prolog.org/pldoc/package/ssl.html}{ssl~package}.
298299

299300
Input is text, represented as an atom, packed string object or
300301
code-list. Note that these functions operate on byte-sequences and
@@ -348,6 +349,9 @@ representing the authentication code. \arg{Options} is the same as for
348349
sha_hash/3, but currently only \const{sha1} and \const{sha256} are
349350
supported.
350351

352+
See also crypto_data_hash/3 from \pllib{crypto} library provided by
353+
the SSL package.
354+
351355
\predicate{hash_atom}{2}{+Hash, -HexAtom}
352356
True when \arg{HexAtom} is the commonly used hexadecimal encoding of
353357
the hash code. E.g.,

0 commit comments

Comments
 (0)