<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def Sign(message, private_key):
 """ Sign the message with the given private key. Args: message (str):
 message to be signed private_key (str):
 32 byte key as a double digit hex string (e.g. having a length of 64) Returns: bytearray: the signature of the message. """


        hash = hashlib.sha256(binascii.unhexlify(message)).hexdigest()

        v, r, s = bitcoin.ecdsa_raw_sign(hash, private_key)

        rb = bytearray(r.to_bytes(32, 'big'))
        sb = bytearray(s.to_bytes(32, 'big'))

        sig = rb + sb

        return sig