<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def raw_sign(message, secret):
 """Sign a message."""

    digest = hmac.new(secret, message, hashlib.sha256).digest()
    return base64.b64encode(digest)