riot_sys

Function uuid_v5

Source
pub unsafe extern "C" fn uuid_v5(
    uuid: *mut uuid_t,
    ns: *const uuid_t,
    name: *const u8,
    len: size_t,
)
Expand description

Generate a version 5(sha1 based) UUID from a namespace and a byte array

@param[out] uuid UUID struct to fill @param[in] ns Namespace UUID @param[in] name Ptr to byte array to use as name part @param[in] len Length of the byte array