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: sha2_256.rb

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

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