File: sha2_256_96.rb

package info (click to toggle)
ruby-net-ssh 1%3A6.1.0-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,884 kB
  • sloc: ruby: 15,997; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
require 'net/ssh/transport/hmac/abstract'

module Net::SSH::Transport::HMAC
  # The SHA256-96 HMAC algorithm. This returns only the first 12 bytes of
  # the digest.
  class SHA2_256_96 < SHA2_256
    mac_length 12
  end
end