Retrieve the 32-byte representation of this key.
(self)
| 357 | self.set(generate_privkey(), compressed) |
| 358 | |
| 359 | def get_bytes(self): |
| 360 | """Retrieve the 32-byte representation of this key.""" |
| 361 | assert(self.valid) |
| 362 | return self.secret.to_bytes(32, 'big') |
| 363 | |
| 364 | @property |
| 365 | def is_valid(self): |
no outgoing calls