Bitmessage / PyBitmessage

Reference client for Bitmessage: a P2P encrypted decentralised communication protocol:
https://bitmessage.org/wiki/Main_Page
Other
2.81k stars 578 forks source link

Functions for key generation #2214

Closed PeterSurda closed 2 months ago

PeterSurda commented 2 months ago

Hi!

This is another part of the old branch crypto: key generation. Here random_keys() reuses randomBytes() and deterministic_keys() returns the pair of keys for the given nonce, address generator still needs to choose the nonce by checking the resulting ripe hash.