summaryrefslogtreecommitdiff
path: root/lib/net/ssh/transport/hmac/sha2_512.rb
blob: d85eb98762b3619a09e5bee07024aeafa2d82a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
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