File Manager

Path: /opt/chef/embedded/lib/ruby/gems/2.7.0/gems/net-ssh-6.1.0/lib/net/ssh/transport/hmac/

Viewing File: none.rb

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