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_512.rb

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

module Net::SSH::Transport::HMAC
  # The SHA-512 HMAC algorithm. This has a mac and key length of 64, and
  # uses the SHA-512 digest algorithm.
  class SHA2_512 < Abstract
    mac_length   64
    key_length   64
    digest_class OpenSSL::Digest::SHA512
  end
end