/*  bfmd5: Utility to bruteforce md5 hashes
 *  Copyright (C) 2004 Armin Burgmeier
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 *  02111-1307  USA
 */

#ifndef BFMD5_H_INCLUDED
#define BFMD5_H_INCLUDED

#define BFMD5_VERSION_MAJOR 1
#define BFMD5_VERSION_MINOR 0

void bfmd5_md5sum(const unsigned char* digest, char* buf);
void bfmd5_bf(const unsigned char* dig, char* buf, int n, int c);

void bfmd5_help(void);
void bfmd5_version(void);

void bfmd5_usage(int argc, char* argv[]);
int bfmd5_check(const char* md5sum);
void bfmd5_makelower(char* md5sum);

void bfmd5_makedigest(const char* md5sum, char* result);
int bfmd5_xdigit(char c);

#endif /* BFMD5_H_INCLUDED */

