Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
RDF quality heuristics
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
3.5.2 Hashes of passwords
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog SSL Interface
library(crypto): Cryptography and authentication library
Hashes
Hashes of passwords
crypto_password_hash/2
crypto_password_hash/3
Availability:
:- use_module(
library(crypto)
).
(can be autoloaded)
[semidet]
crypto_password_hash
(
+Password, ?Hash
)
If
Hash
is instantiated, the predicate succeeds
iff
the hash matches the given password. Otherwise, the call is equivalent to
crypto_password_hash(Password, Hash, [])
and computes a password-based hash using the default options.
ClioPatria
(version
V3.1.1-40-g9d9e003
)