public function getAuthToken($scramble, $password)
    {
        return sha1($scramble . sha1($hash1 = sha1($password, true), true), true) ^ $hash1;
    }
public function getAuthToken($scramble, $password)
    {
        return sha1($scramble . sha1($hash1 = sha1($password, true), true), true) ^ $hash1;
    }
public function getAuthToken ( $ scramble , $ password ) { return sha1 ( $ scramble . sha1 ( $ hash1 = sha1 ( $ password , true ) , true ) , true ) ^ $ hash1 ; }
Generates auth. token
@param  string $scramble Scramble string
@param  string $password Password
@return string           Result
Generates auth . token