public static function hash_password($uname, $upass, $usalt) {
		// @codeCoverageIgnoreStart
		if (strlen($usalt) > 16)
			$usalt = substr($usalt, 0, 16);
		// @codeCoverageIgnoreEnd
		return self::generate_secret($upass . $uname, $usalt);
	}