

def new(key, msg=None, digestmod=None):
    "Create a new hashing object and return it.\n\n    key: The starting key for the hash.\n    msg: if available, will immediately be hashed into the object's starting\n    state.\n\n    You can now feed arbitrary strings into the object using its update()\n    method, and can ask for the hash value at any time by calling its digest()\n    method.\n    "
    return HMAC(key, msg, digestmod)

dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/tlslite/utils/hmac.py new/original