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.0.2.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.0.2.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.1.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.0.0.1 vendor/bundle/ruby/2.4.0/gems/net-ssh-4.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-4.2.0 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-1.9.8.1 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-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/net-ssh-4.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-4.2.0.rc2 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-4.2.0.rc1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/net-ssh-4.1.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
savant-echo-1.0.4 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/net-ssh-3.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
savant-echo-1.0.4 bin/packaging/vendor/ruby/2.2.0/gems/net-ssh-3.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-4.1.0 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-4.1.0.rc1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-4.1.0.beta1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/net-ssh-3.0.2/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
savant-echo-1.0.1 bin/packaging/vendor/ruby/2.2.0/gems/net-ssh-3.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
savant-echo-1.0.1 bin/alexa-0.1.2-osx/lib/vendor/ruby/2.2.0/gems/net-ssh-3.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
net-ssh-4.0.1 lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb
savant-echo-0.1.91 bin/packaging/vendor/ruby/2.2.0/gems/net-ssh-3.2.0/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha256.rb