Sha256: f2065692fae4f040ff046f13d6234f428bc4b6527ef5ecba3ba4ddfa9c8635a7

Contents?: true

Size: 452 Bytes

Versions: 160

Compression:

Stored size: 452 Bytes

Contents

require 'net/ssh/transport/kex/diffie_hellman_group_exchange_sha1'

module Net::SSH::Transport::Kex
  if defined?(OpenSSL::Digest::SHA256)
    # A key-exchange service implementing the
    # "diffie-hellman-group-exchange-sha256" key-exchange algorithm.
    class DiffieHellmanGroupExchangeSHA256 < DiffieHellmanGroupExchangeSHA1
      def initialize(*args)
        super(*args)

        @digester = OpenSSL::Digest::SHA256
      end
    end
  end
end

Version data entries

160 entries across 140 versions & 17 rubygems

Version Path
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.1.0 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.1.0.rc1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.0.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.1.4.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.1.2.0 vendor/bundle/ruby/2.3.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.0.2 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.0.1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.0.0 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.0.0.rc2 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.0.0.rc1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.0.0.beta2 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.0.0.beta1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb