Author: zfive5 email: zfive5@yahoo.com.cn
HMAC certification, mainly to make people verify the correctness of the other party and the validity of the message, the maximum difference from the message summary, is the signature key! The summary algorithm is only the effectiveness of signature messages. HMAC is widely used in the certification phase of the network protocol, such as the mail protocol used it, and SSL also has its figure! HMAC's algorithm is very simple. Friends can open the python23 / lib / hmac.py file to see, now I finally realized the benefits of open source! HMAC (k, m) = h (k㈩opad || h (k㈩ipad || m)) h = the digest algorithm ipad = a string consisting of byte 0x36 ipad = a string consisting of byte 0x5c Recently I recently see SSL implementation details, It also reminded one side (seeing the mail receiver before the day before, the impression is not deep). Python Up Up! ! !