Sha256: 413b8facfd64ed953a2421491fc7473268b4359e785f9ff680be4ebf2b1e2290

Contents?: true

Size: 295 Bytes

Versions: 28

Compression:

Stored size: 295 Bytes

Contents

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

Version data entries

28 entries across 28 versions & 6 rubygems

Version Path
net-ssh-7.1.0.beta2 lib/net/ssh/transport/hmac/sha1.rb
net-ssh-7.1.0.beta1 lib/net/ssh/transport/hmac/sha1.rb
net-ssh-clone-7.0.1 lib/net/ssh/transport/hmac/sha1.rb
net-ssh-7.0.1 lib/net/ssh/transport/hmac/sha1.rb
net-ssh-7.0.0 lib/net/ssh/transport/hmac/sha1.rb
net-ssh-7.0.0.beta1 lib/net/ssh/transport/hmac/sha1.rb
eximius-net-ssh-6.3.1 lib/net/ssh/transport/hmac/sha1.rb
net-ssh-6.3.0.beta1 lib/net/ssh/transport/hmac/sha1.rb