4 * @brief Interface for md5_hasher_t.
9 * Copyright (C) 2005 Jan Hutter, Martin Willi
10 * Hochschule fuer Technik Rapperswil
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26 #include <crypto/hashers/hasher.h>
29 typedef struct md5_hasher_t md5_hasher_t
;
32 * @brief Implementation of hasher_t interface using the
36 * - hasher_create() using HASH_MD5 as algorithm
37 * - md5_hasher_create()
46 * Generic hasher_t interface for this hasher.
48 hasher_t hasher_interface
;
52 * @brief Creates a new md5_hasher_t.
54 * @return md5_hasher_t object
58 md5_hasher_t
*md5_hasher_create();
60 #endif /*MD5_HASHER_H_*/