2012-06-29 05:18:28 +00:00
|
|
|
# -*- coding: binary -*-
|
2010-02-16 19:18:19 +00:00
|
|
|
require 'net/ssh/transport/hmac/md5'
|
|
|
|
|
|
|
|
module Net::SSH::Transport::HMAC
|
|
|
|
|
|
|
|
# The MD5-96 HMAC algorithm. This returns only the first 12 bytes of
|
|
|
|
# the digest.
|
|
|
|
class MD5_96 < MD5
|
|
|
|
mac_length 12
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|