@iamalsoandy So you want something encrypted with a secret that only the person using it knows and which the server doesn’t? Look up symmetric encryption. The caveat being, of course, that you don’t know whether the server has been compromised and thus served you a compromised client. (You could write a browser extension to verify the code if that level of threat is in your model.)
Conversation
Notices
-
Aral Balkan (aral@mastodon.ar.al)'s status on Tuesday, 27-Dec-2022 20:25:49 JST Aral Balkan -
Andy (iamalsoandy@amastodon.uk)'s status on Tuesday, 27-Dec-2022 20:26:56 JST Andy How does one go about encrypting something client side that then gets sent to a database server side? #PHP #SQL #JavaScript #Encryption
-