out(__('No Auth Component found')); die(); } $this->out('Using: '.$class); while (empty($pwToHash) || mb_strlen($pwToHash) < 2) { $pwToHash = $this->in(__('Password to Hash (2 characters at least)')); } $pw = $class::password($pwToHash); $this->hr(); echo $pw; } public function help() { $this->out('-- Hash Passwort with Auth(Ext) Component --'); $this->out('-- cake Tools.Pwd hash'); $this->out('---- using the salt of the core.php (!)'); } }