Documentation

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
todo

Merge this class with Horde_Core_Secret.

author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2015-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL

since
2.20.0

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

        
On this page

Search results