Sha256: 90d056b0cddf427c94fa8763f3920c059c0c123a3a2c2a404db06aac3caa8a0d

Contents?: true

Size: 247 Bytes

Versions: 329

Compression:

Stored size: 247 Bytes

Contents

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

module Net::SSH::Transport::HMAC

  # The "none" algorithm. This has a key and mac length of 0.
  class None < Abstract
    key_length 0
    mac_length 0

    def digest(data)
      ""
    end
  end

end

Version data entries

329 entries across 278 versions & 30 rubygems

Version Path
net-ssh-4.0.0.beta3 lib/net/ssh/transport/hmac/none.rb
net-ssh-3.2.1.beta1 lib/net/ssh/transport/hmac/none.rb
net-ssh-4.0.0.beta2 lib/net/ssh/transport/hmac/none.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/net-ssh-3.0.2/lib/net/ssh/transport/hmac/none.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/net-ssh-3.0.2/lib/net/ssh/transport/hmac/none.rb
net-ssh-4.0.0.beta1 lib/net/ssh/transport/hmac/none.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/net-ssh-3.0.2/lib/net/ssh/transport/hmac/none.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/net-ssh-3.0.2/lib/net/ssh/transport/hmac/none.rb
net-ssh-3.2.0 lib/net/ssh/transport/hmac/none.rb
net-ssh-3.2.0.rc2 lib/net/ssh/transport/hmac/none.rb
net-ssh-3.2.0.rc1 lib/net/ssh/transport/hmac/none.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/net-ssh-2.4.0/lib/net/ssh/transport/hmac/none.rb
net-ssh-4.0.0.alpha4 lib/net/ssh/transport/hmac/none.rb
net-ssh-4.0.0.alpha3 lib/net/ssh/transport/hmac/none.rb
net-ssh-4.0.0.alpha2 lib/net/ssh/transport/hmac/none.rb
net-ssh-3.1.1 lib/net/ssh/transport/hmac/none.rb
net-ssh-4.0.0.alpha1 lib/net/ssh/transport/hmac/none.rb
net-ssh-3.1.0 lib/net/ssh/transport/hmac/none.rb
net-ssh-3.1.0.rc2 lib/net/ssh/transport/hmac/none.rb
net-ssh-3.1.0.rc1 lib/net/ssh/transport/hmac/none.rb