Function argon2_ffi::hash_encoded_argon2d [] [src]

pub extern fn hash_encoded_argon2d(mem_cost: uint32_t,
                                   time_cost: uint32_t,
                                   parallelism: uint32_t,
                                   pwd: *const uint8_t,
                                   pwd_len: size_t,
                                   salt: *const uint8_t,
                                   salt_len: size_t,
                                   hash_len: size_t,
                                   encoded: *mut c_char,
                                   encoded_len: size_t)
                                   -> int32_t

Hashes the password using Argon2d and writes the encoded string to encoded.