class Net::SSH::Transport::Kex::DiffieHellmanGroup14SHA1

A key-exchange service implementing the “diffie-hellman-group14-sha1” key-exchange algorithm. (defined in RFC 4253)

Constants

G

The group constant

P_r

The radix in which P_s represents the value of P

P_s

The value of 'P', as a string, in hexadecimal

Private Instance Methods

get_g() click to toggle source
# File lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb, line 40
def get_g
  G
end
get_p() click to toggle source
# File lib/net/ssh/transport/kex/diffie_hellman_group14_sha1.rb, line 36
def get_p
  OpenSSL::BN.new(P_s, P_r)
end