Logo Search packages:      
Sourcecode: ldap-account-manager version File versions

Cipher_blowfish Class Reference

List of all members.


Detailed Description

The Cipher_blowfish:: class implements the Cipher interface enryption data using the Blowfish algorithm.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Copyright 2002-2003 Mike Cochrane <mike@graftonhall.co.nz>

See http://www.fsf.org/copyleft/lgpl.html for license information (LGPL).

This file was copied from the Horde project (http://www.horde.org).

author: Mike Cochrane <mike@graftonhall.co.nz>

edited by Roland Gruber <post@rolandgruber.de> for LAM

Definition at line 32 of file blowfish.inc.


Public Member Functions

 _encryptBlock ($L, $R)
 _formatKey ($key)
 Cipher_blowfish ($params=null)
 decrypt ($data, $key=null)
 decryptBlock ($block, $key=null)
 encrypt ($data, $key=null)
 encryptBlock ($block, $key=null)
 getBlockSize ()
 setKey ($key)

Public Attributes

 $_rounds = 16
 $p
 $s1
 $s2
 $s3
 $s4

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index