Bitmessage / PyBitmessage

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

Functions for key generation #2214

Closed PeterSurda closed 7 months ago

PeterSurda commented 7 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.