config = $config; } public function getHash($password) { return hash('sha256', $this->config->security->secret . '/' . $password); } }