Sha256: 4e0efccbc6beb2f22c8c548b63a3c93600ff59365827f55ed5d5136ae88334cd

Contents?: true

Size: 391 Bytes

Versions: 160

Compression:

Stored size: 391 Bytes

Contents

require 'net/ssh/transport/hmac/abstract'

if defined?(OpenSSL::Digest::SHA256) # need openssl support
  module Net::SSH::Transport::HMAC

    # The SHA-256 HMAC algorithm. This has a mac and key length of 32, and
    # uses the SHA-256 digest algorithm.
    class SHA2_256 < Abstract
      mac_length   32
      key_length   32
      digest_class OpenSSL::Digest::SHA256
    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/hmac/sha2_256.rb
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.2.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/net-ssh-4.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.2.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.0.2/lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb
net-ssh-5.2.0 lib/net/ssh/transport/hmac/sha2_256.rb
net-ssh-5.2.0.rc3 lib/net/ssh/transport/hmac/sha2_256.rb
net-ssh-5.2.0.rc2 lib/net/ssh/transport/hmac/sha2_256.rb
net-ssh-5.2.0.rc1 lib/net/ssh/transport/hmac/sha2_256.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/net-ssh-5.1.0/lib/net/ssh/transport/hmac/sha2_256.rb