/usr/lib/ruby/vendor_ruby/net/ssh/transport/hmac/sha1.rb is in ruby-net-ssh 1:2.5.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | require 'net/ssh/transport/hmac/abstract'
module Net::SSH::Transport::HMAC
# The SHA1 HMAC algorithm. This has a mac and key length of 20, and
# uses the SHA1 digest algorithm.
class SHA1 < Abstract
mac_length 20
key_length 20
digest_class OpenSSL::Digest::SHA1
end
end
|