Kolibri library – API Documentation

Header image

Main page


KolibriErr KOLIBRI_FUNC_ATTR kolibriGeneratePassHash ( KolibriUint8 passHash,
char const *  pass,
char const *  user,
char const *  project 
)

Generate password hash.

This function generates the password hash as needed by kolibriInit(). The password hash is the 160-bit SHA-1 hash build from password, user name and project all seperated by colons: SHA-1(password ":" user-name ":" project)

Parameters
passHashPointer to KOLIBRI_PASS_HASH_SIZE byte long array where the password storage hash will be stored
passPassword
userUser name (max. KOLIBRI_MAX_USER_LEN characters)
projectProject name (max. KOLIBRI_MAX_PROJECT_LEN characters)
Returns
Returns one of the following codes:
See also
kolibriInit()
Reentrance
No
Since
1.0.0





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10