A key-exchange service implementing the “diffie-hellman-group14-sha1” key-exchange algorithm. (defined in RFC 4253)
The group constant
The radix in which P_s represents the value of P
The value of 'P', as a string, in hexadecimal
# File lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb, line 40 def get_g G end
# File lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb, line 36 def get_p OpenSSL::BN.new(P_s, P_r) end