Function argon2_ffi::hash_raw_argon2i [] [src]

pub extern fn hash_raw_argon2i(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,
                               out: *mut uint8_t,
                               out_len: size_t)
                               -> int32_t

Hashes the password using Argon2i and writes the hash bytes to out.