/** * Constructor * * @todo use configuration settings here. */ function __construct() { // 8 iteration to create a Portable hash parent::PasswordHash(8, FALSE); }
/** * Constructor * * @param Context $Context * @return PeoplePasswordHash */ function PeoplePasswordHash(&$Context) { $this->Context =& $Context; parent::PasswordHash($Context->Configuration['PASSWORD_HASH_ITERATION'], $Context->Configuration['PASSWORD_HASH_PORTABLE']); }