Algorithms_in_C 1.0.0
Set of algorithms implemented in C.
Loading...
Searching...
No Matches
hash_djb2.c File Reference

DJB2 hash algorithm More...

#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
Include dependency graph for hash_djb2.c:

Functions

uint64_t djb2 (const char *s)
 DJB2 algorithm implementation.
 
void test_djb2 (void)
 Test function for djb2.
 
int main ()
 Main function.
 

Detailed Description

Function Documentation

◆ main()

int main ( void  )

Main function.

47{
48 test_djb2();
49 return 0;
50}
void test_djb2(void)
Test function for djb2.
Definition hash_djb2.c:34
Here is the call graph for this function: