argon2_type2string

Function argon2_type2string 

Source
pub unsafe extern "C" fn argon2_type2string(
    ty: argon2_type,
    uppercase: c_int,
) -> *const c_char
Expand description

Function that gives the string representation of an argon2_type.

@param type The argon2_type that we want the string for

@param uppercase Whether the string should have the first letter uppercase

@return NULL if invalid type, otherwise the string representation.