Functions | |
| char * | rxv_spin_hash (apr_pool_t *pool, const char *uniq) |
| char * | rxv_spin_hmac (apr_pool_t *pool, const char *uniq, const char *salt) |
| char* rxv_spin_hash | ( | apr_pool_t * | pool, | |
| const char * | uniq | |||
| ) |
Create MD5 hash, using ASCII letters only
| pool | Pool for allocation the hash | |
| uniq | String to hash |
rxv_spin_hash(pool,"some string");
| char* rxv_spin_hmac | ( | apr_pool_t * | pool, | |
| const char * | uniq, | |||
| const char * | salt | |||
| ) |
Create MD5 HMAC, using ASCII letters only
| pool | Pool for allocation the hash | |
| uniq | String to hash | |
| salt | Key used for HMAC, must be 64 bytes long |
rxv_spin_hmac(pool,"some string",verysecretkey);
1.5.7.1