mleku on Nostr: if you hash the hash and then trim it to 8 bytes and render that as base32 it's ...
if you hash the hash and then trim it to 8 bytes and render that as base32 it's pretty concise and almost impossible it will collide... youtube uses a similar scheme, it's 13 characters
Published at
2024-06-25 16:31:26Event JSON
{
"id": "9715eacee7c54d089269cbc2d7196b89e508a246a7261b69012bca1f25f0c434",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1719325886,
"kind": 1,
"tags": [
[
"e",
"21e245c3cca33e1681f3e465ccec6ecbebfadbd4ba2fe4d3cd2411c5b08d4a71",
"",
"root"
],
[
"e",
"d9469e3f2ff2543a11b11f597a9081602b715d24afb0ce5ecc628cb3904c47af",
"",
"reply"
],
[
"p",
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319",
"",
"mention"
]
],
"content": "if you hash the hash and then trim it to 8 bytes and render that as base32 it's pretty concise and almost impossible it will collide... youtube uses a similar scheme, it's 13 characters",
"sig": "851edc255ee57643cbf52e24c2b02f472e153ede1790d5cb7ddb7141bb6711827f67dde2a9915f86b9053afde9bd44967f774773fea78eeaec87b71768066c0b"
}