Commit be24a2e2 by Alexander Makarov

Removed mentions of $deriveKeyStrategy from Security phpdoc

parent 1e9350ab
...@@ -31,8 +31,7 @@ class Security extends Component ...@@ -31,8 +31,7 @@ class Security extends Component
{ {
/** /**
* @var integer derivation iterations count. * @var integer derivation iterations count.
* Only used when @see $deriveKeyStrategy = 'password'. Set as * Set as high as possible to hinder dictionary password attacks.
* high as possible to hinder dictionary password attacks.
*/ */
public $derivationIterations = 100000; public $derivationIterations = 100000;
/** /**
...@@ -179,7 +178,6 @@ class Security extends Component ...@@ -179,7 +178,6 @@ class Security extends Component
* @param bool $passwordBased set true to use password-based key derivation * @param bool $passwordBased set true to use password-based key derivation
* @param string $secret the encryption password or key * @param string $secret the encryption password or key
* @param string $info context/application specific information, e.g. a user ID * @param string $info context/application specific information, e.g. a user ID
* Only used when $deriveKeyStrategy = 'key'.
* See RFC 5869 Section 3.2 @link https://tools.ietf.org/html/rfc5869 * See RFC 5869 Section 3.2 @link https://tools.ietf.org/html/rfc5869
* @return string the encrypted data * @return string the encrypted data
* @throws Exception if PHP Mcrypt extension is not loaded or failed to be initialized * @throws Exception if PHP Mcrypt extension is not loaded or failed to be initialized
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment