Event JSON
{
"id": "7aef8072fbb3211201049cf1387db9d5536e2202dc3f0216e6dde081a63f5b2e",
"pubkey": "7830bdb17965a3ad90249ca7bfa18418e03f6b39e37576089578c038cede390a",
"created_at": 1728167857,
"kind": 1,
"tags": [
[
"p",
"83843565a41572c369593b8f33b539b636465ce5f0223ed3329c00d7266eac63",
"wss://relay.mostr.pub"
],
[
"p",
"852f15c48099ef4aca68452e51f2d9a12d70b3c2ce417b25d968fe5b989a4d31",
"wss://relay.mostr.pub"
],
[
"e",
"54a943acddf5e255cdd5546b3902f5e2abb741cd761714486a0a70681938aaaa",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/textovervideo/statuses/113257208688060670",
"activitypub"
]
],
"content": "nostr:npub1swzr2edyz4evx62e8w8n8dfekcmyvh897q3ra5ejnsqdwfnw433sd29fq3 The website uses PHP on the backend already. I know PHP has specific functions for encryption and decryption on the server side. I am saving the chat conversations using Ajax and PHP. Is there a specific JavaScript library to encrypt the messages on the client side before sending it to the server?",
"sig": "db4d3288a954a9b03e22de695808afc18690c210fa297aac12d4080abce523c1c44b67548e751d10450d3a24632ed8c7b09337c12d83950359f19064728de10b"
}