Python : HMAC using weak hashing algorithm