Class Horde_Cipher_BlockMode_ecb

Description

The Horde_Cipher_BlockMode_ecb:: This class implements the Horde_Cipher_BlockMode using the Electronic Code Book method of encrypting blocks of data.

$Horde: framework/Cipher/Cipher/BlockMode/ecb.php,v 1.7.12.9 2009/01/06 15:22:58 jan Exp $

Copyright 2002-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /Cipher/Cipher/BlockMode/ecb.php (line 18)

Horde_Cipher_BlockMode
   |
   --Horde_Cipher_BlockMode_ecb
Method Summary
 The decrypt ( &$cipher, string $ciphertext, Horde_Cipher $cipher)
 The encrypt ( &$cipher, string $plaintext, Horde_Cipher $cipher)
Variables

Inherited Variables

Inherited from Horde_Cipher_BlockMode

Horde_Cipher_BlockMode::$_iv
Methods
decrypt (line 58)

Decrypt a string.

  • return: decrypted data.
The decrypt ( &$cipher, string $ciphertext, Horde_Cipher $cipher)
  • Horde_Cipher $cipher: Cipher algorithm to use for decryption.
  • string $ciphertext: The data to decrypt.
  • &$cipher
encrypt (line 29)

Encrypt a string.

  • return: encrypted data.
The encrypt ( &$cipher, string $plaintext, Horde_Cipher $cipher)
  • Horde_Cipher $cipher: Cipher algorithm to use for encryption.
  • string $plaintext: The data to encrypt.
  • &$cipher

Inherited Methods

Inherited From Horde_Cipher_BlockMode

 Horde_Cipher_BlockMode::factory()
 Horde_Cipher_BlockMode::setIV()

Documentation generated on Sun, 30 Jan 2011 05:17:02 +0000 by phpDocumentor 1.4.3