Sun on Nostr: Is anyone an actual cryptography person, can I encrypt the 64-bit primary key id of ...
Is anyone an actual cryptography person, can I encrypt the 64-bit primary key id of my db table using block aes and then base64 encode it and use it as a publicly visible id
Published at
2024-12-20 18:31:47Event JSON
{
"id": "a7c8ee10eb5630dabed62f039c4cc126b06c75af3fb8bf07235f0852031b1ec4",
"pubkey": "05de5f2d3b8d98f9b929695080ae6aa51b14f00dc122eef1d40d502a0ab48154",
"created_at": 1734719507,
"kind": 1,
"tags": [
[
"zap",
"05de5f2d3b8d98f9b929695080ae6aa51b14f00dc122eef1d40d502a0ab48154",
"wss://relay.mostr.pub",
"0.915"
],
[
"zap",
"6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9",
"wss://relay.mostr.pub",
"0.085"
],
[
"proxy",
"https://shitposter.world/objects/08573a12-5abe-41e0-a2c0-90c829ddf336",
"activitypub"
]
],
"content": "Is anyone an actual cryptography person, can I encrypt the 64-bit primary key id of my db table using block aes and then base64 encode it and use it as a publicly visible id",
"sig": "030902368e445ba3e45f97539159626c70f34ac6ae23f05c8557daacb1ab02b6ce7a4e76c5e5e1bbc7f9350c19c99b715fd322366a49ab73d97f01f217bc3cc1"
}