@staticmethod<EOL><INDENT>def sign(message: bytes, sign_key: SignKey) -> Signature:<DEDENT>
logger = logging.getLogger(__name__)<EOL>logger.debug("<STR_LIT>", message, sign_key)<EOL>c_instance = c_void_p()<EOL>do_call('<STR_LIT>',<EOL>message, len(message),<EOL>sign_key.c_instance,<EOL>byref(c_instance))<EOL>res = Signature(c_instance)<EOL>logger.debug("<STR_LIT>", res)<EOL>return res<EOL>
Signs the message and returns signature.

:param: message - Message to sign
:param: sign_key - Sign key
:return: Signature