original_string: private static function __getHash($string)
  	{
  		return base64_encode(extension_loaded('hash') ?
  		hash_hmac('sha1', $string, self::$__secretKey, true) : pack('H*', sha1(
  		(str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) .
  		pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^
  		(str_repeat(chr(0x36), 64))) . $string)))));
  	}
code: private static function __getHash($string)
  	{
  		return base64_encode(extension_loaded('hash') ?
  		hash_hmac('sha1', $string, self::$__secretKey, true) : pack('H*', sha1(
  		(str_pad(self::$__secretKey, 64, chr(0x00)) ^ (str_repeat(chr(0x5c), 64))) .
  		pack('H*', sha1((str_pad(self::$__secretKey, 64, chr(0x00)) ^
  		(str_repeat(chr(0x36), 64))) . $string)))));
  	}
code_tokens: private static function __getHash ( $ string ) { return base64_encode ( extension_loaded ( 'hash' ) ? hash_hmac ( 'sha1' , $ string , self :: $ __secretKey , true ) : pack ( 'H*' , sha1 ( ( str_pad ( self :: $ __secretKey , 64 , chr ( 0x00 ) ) ^ ( str_repeat ( chr ( 0x5c ) , 64 ) ) ) . pack ( 'H*' , sha1 ( ( str_pad ( self :: $ __secretKey , 64 , chr ( 0x00 ) ) ^ ( str_repeat ( chr ( 0x36 ) , 64 ) ) ) . $ string ) ) ) ) ) ; }
docstring: Creates a HMAC-SHA1 hash
  
  This uses the hash extension if loaded
  
  @internal Used by __getSignature()
  @param string $string String to sign
  @return string
docstring_tokens: Creates a HMAC - SHA1 hash