Replies: 1 comment
-
You could use a PRNG seeded with the URL address of the file encoded into a seed, and then generate 32 bytes and check whether it is a valid (and even) private key and if not, loop around and try again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am interested in generating nostr deterministic private keys.
The use would be to create fake relays without a database that are actually microservices.
For example, to always create posts with the same private key associated with the RSS/ATOM feed, issues on github, and any other type of data originating from websites.
Where the URL address of the file would generate a deterministic nostr key, thus ensuring that all microservices relays operating in this way would have their posts synchronized.
Could you give me some references?
Beta Was this translation helpful? Give feedback.
All reactions