Function argon2_ffi::hash_encoded [] [src]

pub extern fn hash_encoded(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,
                           hash_len: size_t,
                           encoded: *mut c_char,
                           encoded_len: size_t)
                           -> int32_t

Hashes the password and writes the encoded string to encoded.