def SignByteArray(data):
    debug_print('Signature is SHA-256 of data')
    sigb = HashByteArray(data)
    sigb.extend((b'\x00' * 32))
    return sigb
def SignByteArray(data):
    debug_print('Signature is SHA-256 of data')
    sigb = HashByteArray(data)
    sigb.extend((b'\x00' * 32))
    return sigb