Class Horde_Cipher_BlockMode_ofb64

Description

The Horde_Cipher_BlockMode_ofb64:: This class implements the Horde_Cipher_BlockMode using a 64 bit output feedback.

This can used to encrypt any length string and the encrypted version will be the same length.

$Horde: framework/Cipher/Cipher/BlockMode/ofb64.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/ofb64.php (line 20)

Horde_Cipher_BlockMode
   |
   --Horde_Cipher_BlockMode_ofb64
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 60)

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 31)

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:20:10 +0000 by phpDocumentor 1.4.3