Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Argon2
SourceOcaml bindings to Argon2.
Bindings to Argon2i.
Bindings to Argon2d.
Bindings to Argon2id.
val hash :
t_cost:int ->
m_cost:int ->
parallelism:int ->
pwd:string ->
salt:string ->
kind:kind ->
hash_len:int ->
encoded_len:int ->
version:version ->
(hash * encoded, ErrorCodes.t) Result.result
Generic function underlying the above ones.
Verifies a password against an encoded string.