SourceForge Logo
Main Page   Compound List   File List   Compound Members   File Members  

Blowfish.h File Reference

C++ implementation of the Blowfish encryption taken from the FPM's modified version of GNUPG code. More...

#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

Go to the source code of this file.

Namespaces

namespace  std

Compounds

class  Blowfish

Defines

#define G10ERR_SELFTEST_FAILED   50
#define G10ERR_WEAK_KEY   43
#define CIPHER_ALGO_BLOWFISH   4
#define FNCCAST_SETKEY(f)   (int(*)(void*, byte*, unsigned))(f)
#define FNCCAST_CRYPT(f)   (void(*)(void*, byte*, byte*))(f)
#define BLOWFISH_BLOCKSIZE   8
#define BLOWFISH_ROUNDS   16

Typedefs

typedef unsigned int u32
typedef unsigned char byte


Detailed Description

C++ implementation of the Blowfish encryption taken from the FPM's modified version of GNUPG code.

Author:
Frederic RUAUDEL <grumz@users.sf.net>
Revision:
1.1
Date:
2003/03/07 10:55:16

FPMBlowfishPlugin Copyleft (c) 2003 Frederic RUAUDEL, all rights reversed

Copyleft (C) 1998 Free Software Foundation, Inc.

This program is free software which I release under the GNU General Public License. You may redistribute and/or modify this program under the terms of that 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. Version 2 is in the COPYING file in the top level directory of this distribution.

To get a copy of the GNU General Public License, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Generated on Sun Mar 9 11:13:59 2003 for FPMBlowfishPlugin by doxygen1.2.15