Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Argon2.D
SourceBindings to Argon2d.
val hash_raw :
t_cost:int ->
m_cost:int ->
parallelism:int ->
pwd:string ->
salt:string ->
hash_len:int ->
(hash, ErrorCodes.t) Result.result
Hashes a password, producing a raw hash.
val hash_encoded :
t_cost:int ->
m_cost:int ->
parallelism:int ->
pwd:string ->
salt:string ->
hash_len:int ->
encoded_len:int ->
(encoded, ErrorCodes.t) Result.result
Hashes a password, producing an encoded hash.
Verifies a password against an encoded string.