コード例 #1
0
 /**
  * Method sets minimum allowed log2 number of iterations for password stretching.
  *
  * @param integer $minHashCount Minimum allowed log2 number of iterations for password stretching to set
  * @see MIN_HASH_COUNT
  * @see $minHashCount
  * @see getMinHashCount()
  */
 public function setMinHashCount($minHashCount = NULL)
 {
     self::$minHashCount = !is_NULL($minHashCount) && is_int($minHashCount) ? $minHashCount : self::MIN_HASH_COUNT;
 }
コード例 #2
0
 /**
  * Method sets minimum allowed log2 number of iterations for password stretching.
  *
  * @param int $minHashCount Minimum allowed log2 number of iterations for password stretching to set
  * @see MIN_HASH_COUNT
  * @see $minHashCount
  * @see getMinHashCount()
  */
 public function setMinHashCount($minHashCount = null)
 {
     self::$minHashCount = !is_null($minHashCount) && is_int($minHashCount) ? $minHashCount : self::MIN_HASH_COUNT;
 }