17 require_once
'Auth/OpenID.php';
18 require_once
'Auth/OpenID/BigMath.php';
22 return '155172898181473697471232257763715539915724801'.
23 '966915404479707795314057629378541917580651227423'.
24 '698188993727816152646631438561595825688188889951'.
25 '272158842675419950341258706556549803580104870537'.
26 '681476726513255747040765857479291291572334510643'.
27 '245094715007229621094194349783925984760375594985'.
28 '848253359305585439638443';
72 $r = $this->lib->rand($this->mod);
73 $this->
private = $this->lib->add($r, 1);
78 $this->
public = $this->lib->powmod($this->gen, $this->
private,
84 return $this->lib->powmod($composite, $this->
private, $this->mod);
101 $dh_shared_str = $this->lib->longToBinary($dh_shared);
102 $hash_dh_shared = $hash_func($dh_shared_str);
106 $xsecret .= chr(ord($secret[$i]) ^ ord($hash_dh_shared[$i]));