Sign the text msg with a private/sign key. :param msg: message bytes to be signed :param key: private key to sign the message :return: bytes
(self, msg, key)
| 14 | raise NotImplementedError() |
| 15 | |
| 16 | def sign(self, msg, key): |
| 17 | """Sign the text msg with a private/sign key. |
| 18 | |
| 19 | :param msg: message bytes to be signed |
| 20 | :param key: private key to sign the message |
| 21 | :return: bytes |
| 22 | """ |
| 23 | raise NotImplementedError |
| 24 | |
| 25 | def verify(self, msg, sig, key): |
| 26 | """Verify the signature of text msg with a public/verify key. |
no outgoing calls