# File lib/openid/dh.rb, line 12 def DiffieHellman.fromBase64(p=nil, g=nil) unless p.nil? p = OpenID::Util.strToNum(OpenID::Util.fromBase64(p)) end unless g.nil? g = OpenID::Util.strToNum(OpenID::Util.fromBase64(g)) end DiffieHellman.new(p, g) end