Function argon2_ffi::hash_raw [] [src]

pub extern fn hash_raw(variant: uint32_t,
                       version: uint32_t,
                       mem_cost: uint32_t,
                       time_cost: uint32_t,
                       lanes: uint32_t,
                       threads: uint32_t,
                       pwd: *const uint8_t,
                       pwd_len: size_t,
                       salt: *const uint8_t,
                       salt_len: size_t,
                       secret: *const uint8_t,
                       secret_len: size_t,
                       ad: *const uint8_t,
                       ad_len: size_t,
                       out: *mut uint8_t,
                       out_len: size_t)
                       -> int32_t

Hashes the password and writes the hash bytes to out.