09.07.2015 Views

Hash函数 - 北京大学计算机科学技术研究所

Hash函数 - 北京大学计算机科学技术研究所

Hash函数 - 北京大学计算机科学技术研究所

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

HMAC specified as Internet standard RFC2104 uses hash function on the message:HMAC K = Hash[(K + XOR opad) ||Hash[(K + XOR ipad)||M)]] where K + is the key padded out to size and opad, ipad are specified padding constants overhead is just 3 more hash calculations than themessage needs alone any of MD5, SHA-1, RIPEMD-160 can be used

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!