mleku on Nostr: i just actually looked at nip-06 and bip-39 and this shit is not fit for nostr keys ...
i just actually looked at nip-06 and bip-39 and this shit is not fit for nostr keys
bip-39 prescribes an ordered list of 2048 words, and 2048 is 2^11 so each word can represent 11 bits
24x11=264 so 24 words can be a complete nostr secret key of 256 bits plus 8 bits of check just to make sure you don't bugger it up, last word is 3 bits of the key and 8 bits of the check, but whatever, fuck it, not the same as the check in bip-39 however idgaf
i'll adapt this word list and write a little ditty that turns your nsec into 24 words and you will be happy
Published at
2024-08-02 23:34:42Event JSON
{
"id": "ef0b546ec1d0c7067dc5feee11943a282f3fd6ed1d716923de4a0a0010bfdbae",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1722641682,
"kind": 1,
"tags": [],
"content": "i just actually looked at nip-06 and bip-39 and this shit is not fit for nostr keys\n\nbip-39 prescribes an ordered list of 2048 words, and 2048 is 2^11 so each word can represent 11 bits\n\n24x11=264 so 24 words can be a complete nostr secret key of 256 bits plus 8 bits of check just to make sure you don't bugger it up, last word is 3 bits of the key and 8 bits of the check, but whatever, fuck it, not the same as the check in bip-39 however idgaf\n\ni'll adapt this word list and write a little ditty that turns your nsec into 24 words and you will be happy",
"sig": "fa4eb77e854a8c80fb1d5248fc54e40e15176040eb87d2ae3c1858a5c2cf9aca21b323a10f7dc718d72754d0746a92842dc5befa44845f6f9b1b84113f42243a"
}