- implemented md5 hasher
- tested
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user