Decrypts a given string

category Zend
package Zend_Filter
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Filter_Encrypt

 Methods

Calls adapter methods

__call(string $method, string|array $options) 
Inherited

Parameters

$method

string

Method to call

$options

stringarray

Options for this method

Class constructor

__construct(string|array $options = null
Inherited

Parameters

$options

stringarray

(Optional) Options to set, if null mcrypt is used

Defined by Zend_Filter_Interface

filter(string $value) : string

Decrypts the content $value with the defined settings

inherited_from \Zend_Filter_Encrypt::filter()

Parameters

$value

string

Content to decrypt

Returns

stringThe decrypted content

Defined by Zend_Filter_Interface

filter(string $value) : string
Inherited

Encrypts the content $value with the defined settings

inherited_from \Zend_Filter_Interface::filter()

Parameters

$value

string

Content to encrypt

Returns

stringThe encrypted content

Returns the name of the set adapter

getAdapter() : string
Inherited

Returns

string

Sets new encryption options

setAdapter(string|array $options = null) : \Zend_Filter_Encrypt
Inherited

Parameters

$options

stringarray

(Optional) Encryption options

Returns

\Zend_Filter_Encrypt

 Properties

 

Encryption adapter

$_adapter 

Default