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.9.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/net-ssh-4.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.5.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.5.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.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
net-ssh-5.2.0 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.2.0.rc3 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.2.0.rc2 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-5.2.0.rc1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb