summaryrefslogtreecommitdiff
path: root/lib/net/ssh/transport/hmac/ripemd160.rb
blob: a77e4cd2375dde803af5a5d798f3d53ca83bc6dc (plain)
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 RIPEMD-160 HMAC algorithm. This has a mac and key length of 20, and
  # uses the RIPEMD-160 digest algorithm.
  class RIPEMD160 < Abstract
    mac_length   20
    key_length   20
    digest_class OpenSSL::Digest::RIPEMD160
  end

end