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

Blowfish.cpp File Reference

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

#include <Blowfish.h>

Defines

#define F(x)
#define R(l, r, i)   do { l ^= p[i]; r ^= F(l); } while(0)


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.2
Date:
2003/03/07 11:09:10

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


Define Documentation

#define F  
 

Value:

((( s0[((byte*)&x)[3]] + s1[((byte*)&x)[2]])     \
                   ^ s2[((byte*)&x)[1]]) + s3[((byte*)&x)[0]] )


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