ADDED: crypto_data_hash/3, computing cryptographically secure digests

This commit is contained in:
Markus Triska
2020-05-13 19:13:20 +02:00
parent 6d6f6ed8fc
commit 8cd7d08573
4 changed files with 185 additions and 20 deletions

View File

@@ -377,6 +377,8 @@ The modules that ship with Scryer Prolog are also called
Probabilistic predicates and random number generators.
* [`sockets`](src/prolog/lib/sockets.pl)
Predicates for opening and accepting TCP connections as streams.
* [`crypto`](src/prolog/lib/crypto.pl)
Cryptographically secure random numbers and hashes.
To read contents of external files, use `phrase_from_file/2` from
[`library(pio)`](src/prolog/lib/pio.pl) to apply a DCG to