manu on Nostr: Someone know how to convert an hex256 key to the nostr format "nsecxxxx" ? I can ...
Someone know how to convert an hex256 key to the nostr format "nsecxxxx" ?
I can generate a nostr key using `openssl rand -hex 32` and it's working to log-in. I can then find my nsec key. But I want to understand the algorithm used to pass from one to another.
Published at
2023-02-22 13:09:29Event JSON
{
"id": "4a676c27ca04124b825135ff83c2b52e9f201c77db938223dbd8e68afea147ee",
"pubkey": "39b89b0374f407145fe9a688c1d15f22f7a2d1e71a7a85f9f490f87e286ecdff",
"created_at": 1677071369,
"kind": 1,
"tags": [],
"content": "Someone know how to convert an hex256 key to the nostr format \"nsecxxxx\" ?\n\nI can generate a nostr key using `openssl rand -hex 32` and it's working to log-in. I can then find my nsec key. But I want to understand the algorithm used to pass from one to another.",
"sig": "c04442d91eac9192a7e3a4fafb068abbbe003592eb703b1659d24d93a8ac47f4cf90c219fff97890c4dbae61d3cdf05462335fccbcb848202b5843f2a3c7c3f0"
}