q on Nostr: Bom dia! Esse é um bom exercício para fazer. Só dois adendos: Trocar AES por ...
Bom dia!
Esse é um bom exercício para fazer.
Só dois adendos:
Trocar AES por XChacha20-Poly1305;
E ssl é de graça. Só colocar entre o cliente e servidor. 👍
De curiosidade Xchacha20-Poly1305 é utilizado, por exemplo, para encriptar a nsec.
https://github.com/nostr-protocol/nips/blob/master/49.md""XChaCha20-Poly1305 is typically favored by cryptographers over AES and is less associated with the U.S. government. It (or it's earlier variant without the 'X') is gaining wide usage, is used in TLS and OpenSSH, and is available in most modern crypto libraries.
Published at
2024-10-07 12:17:11Event JSON
{
"id": "c6664b46c762f95c2f8718e382592bed1ccebe8e871a9f02a4486939cb54ef22",
"pubkey": "6b642933aa7edc129bbf8798f9de2dcb192cbb2cb58601c11f25e6eed0b85c1c",
"created_at": 1728303431,
"kind": 1,
"tags": [
[
"e",
"bd112999beb739fc6a27b239eec88496fde640e3ff13f06b0a98d98d50d080d3",
"",
"reply"
],
[
"p",
"135d2b016eb41672477291ea7bcafe5f00e007dc6612610ff58a08655bc1b095"
],
[
"p",
"46a52471fa9e16cf5725d70f5970da61b71c8a7895fcb2038cdeb52e21ea3304"
],
[
"r",
"https://github.com/nostr-protocol/nips/blob/master/49.md"
]
],
"content": "Bom dia!\nEsse é um bom exercício para fazer.\n\nSó dois adendos:\nTrocar AES por XChacha20-Poly1305;\nE ssl é de graça. Só colocar entre o cliente e servidor. 👍\n\nDe curiosidade Xchacha20-Poly1305 é utilizado, por exemplo, para encriptar a nsec.\n\nhttps://github.com/nostr-protocol/nips/blob/master/49.md\n\n\"\"XChaCha20-Poly1305 is typically favored by cryptographers over AES and is less associated with the U.S. government. It (or it's earlier variant without the 'X') is gaining wide usage, is used in TLS and OpenSSH, and is available in most modern crypto libraries.",
"sig": "e6ff4af028df5fa0ca535a47abc2796b5383bab8c759bad4a3eaf785085ea42d3985274501c6ca1f269fadfcd7edd03abbb775e32e96f228fc919bcd4832cb24"
}