well, that is still pretty good... but it only takes about 2 days to mine a matching key
i recommend you make it take the first 12 characters and divide the number by two
and bias it to get your green
Okay I think I need to do this now. The simplest way I found was to create a color using the first 6 hexadecimal numbers from a users pubkey.
This gives me the color #266815

and nostr:npub1mutnyacc9uc4t5mmxvpprwsauj5p2qxq95v4a9j0jxl8wnkfvuyque23vg the color #df1732

Since green is my favorite color and the red matches mutiny perfectly I think this is the way to go 😀
well, that is still pretty good... but it only takes about 2 days to mine a matching key
i recommend you make it take the first 12 characters and divide the number by two
and bias it to get your green
Even if i increased it to 12 digits it wouldn't make it much more secure since there are tons of colors that are similar enough where you cant visually tell them apart
also I like keeping it simple, since I think it would be cool if other apps started using this for something 😀
i use this in alphaama, the only change I make to to hex is remove up to 5 leading zeroes if present (because of pow keys). it works pretty well overall..
How many POW keys have you run into? I really like the idea of keeping this simple "pubkey.slice(0,6)" but id also like to have some compatibility with other clients
much less now since npubs... but there are some og accounts nostr:npub1qqqqqqyz0la2jjl752yv8h7wgs3v098mh9nztd4nr6gynaef6uqqt0n47m for example
pow keys with the first 3 bytes being a 24 bit RGB color is a cool thing to mine for... it would only probably take typically 3-4 days to get the exact colour you want
i made my miner search for beginning/contains/end based on the bech32 but this is another option
could you still use slice but start somewhere other than beginning?