- implemented md5 hasher

- tested
This commit is contained in:
Martin Willi
2005-11-22 14:46:35 +00:00
parent 6c105d1c89
commit bfa4b2180b
6 changed files with 636 additions and 34 deletions
@@ -24,6 +24,7 @@
#include "hasher.h"
#include "hasher_sha1.h"
#include "hasher_md5.h"
@@ -39,6 +40,9 @@ hasher_t *hasher_create(hash_algorithm_t hash_algorithm)
return (hasher_t*)hasher_sha1_create();
}
case HASH_MD5:
{
return (hasher_t*)hasher_md5_create();
}
default:
return NULL;
}