Argon2SourceOcaml 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.resultGeneric function underlying the above ones.
Verifies a password against an encoded string.