Horde_Core_Secret_Cbc
extends Horde_Core_Secret
in package
Horde_Secret, using single session key, with CBC based Blowfish encryption.
This is much more secure than the default Horde_Secret algorithm. It should be used for all Horde_Secret/session encryption, but for BC purposes it needs to live in a separate class for now.
Uses the additional parameter 'iv' - the IV used to seed the CBC cipher.
Tags
Table of Contents
Constants
- HORDE_KEYNAME = 'horde_secret'
Methods
- clearKey() : mixed
- getKey() : mixed
- setKey() : mixed
- _getCipherOb() : mixed
Constants
HORDE_KEYNAME
public
mixed
HORDE_KEYNAME
= 'horde_secret'
Methods
clearKey()
public
clearKey([mixed $keyname = self::DEFAULT_KEY ]) : mixed
Parameters
- $keyname : mixed = self::DEFAULT_KEY
getKey()
public
getKey([mixed $keyname = self::DEFAULT_KEY ]) : mixed
Parameters
- $keyname : mixed = self::DEFAULT_KEY
setKey()
public
setKey([mixed $keyname = self::DEFAULT_KEY ]) : mixed
Parameters
- $keyname : mixed = self::DEFAULT_KEY
_getCipherOb()
protected
_getCipherOb(mixed $key) : mixed
Parameters
- $key : mixed