Simone
02/18/2022, 9:42 PMAdam Cameron
Adam Cameron
Adam Cameron
Simone
02/18/2022, 9:44 PMAdam Cameron
Adam Cameron
Simone
02/18/2022, 10:36 PMAdam Cameron
Adam Cameron
Adam Cameron
Adam Cameron
mrtom
02/18/2022, 10:49 PMGareth
02/20/2022, 1:00 PMSimone
02/21/2022, 12:28 AMSimone
02/21/2022, 3:02 PMMyka Forrest
02/21/2022, 3:12 PMmrtom
02/21/2022, 3:15 PMmrtom
02/21/2022, 3:15 PMSimone
02/21/2022, 6:30 PMSimone
02/21/2022, 7:08 PMMyka Forrest
02/21/2022, 7:09 PMMyka Forrest
02/21/2022, 7:11 PMencryptedText
var to the your JS decrypt function. They are inverse functions, so passing the same value to both won't work.Simone
02/21/2022, 7:19 PMSimone
02/21/2022, 7:20 PMSimone
02/21/2022, 7:20 PMMyka Forrest
02/21/2022, 7:24 PMSimone
02/21/2022, 7:25 PMMyka Forrest
02/21/2022, 7:27 PMtoString()
is supposed to work on that, but I certainly don't expect it to return "top secret." What's the idea behind that?Myka Forrest
02/21/2022, 7:28 PMSimone
02/21/2022, 7:35 PMSimone
02/21/2022, 8:45 PMMyka Forrest
02/21/2022, 9:27 PMSimone
02/21/2022, 9:29 PMMyka Forrest
02/21/2022, 9:30 PMSimone
02/21/2022, 9:55 PMMyka Forrest
02/21/2022, 10:03 PMSimone
02/21/2022, 11:50 PMYogesh Lucid
02/22/2022, 5:51 AMAdam Cameron
Simone
02/22/2022, 3:20 PMSimone
02/22/2022, 3:22 PMAdam Cameron
yes has to make it secureYou understand what HTTPS is, right? Everything across an HTTPS connection is already encrypted. And far better than anything you would ever achieve in your first attempt at encrypting stuff. What I mean is you are probably wasting your time as anything that needs to be secure needs to be on HTTPS anyhow, and given this is 2022, you are more than likely already using HTTPS for everything anyhow.
Matt Jones
02/22/2022, 6:17 PMSimone
02/22/2022, 6:21 PMMatt Jones
02/22/2022, 6:26 PMAdam Cameron
1. are you trying to protect the content, and you need to be able to retrieve the content? that could be an encrypt/decrypt job
I am still not convinced that that's a thing done half on the server, and half on the client. @Simone it would be way better if you could actually take the time to articulate why you are trying to do this more clearly.
Simone
02/22/2022, 6:31 PMMatt Jones
02/22/2022, 6:48 PMMatt Jones
02/22/2022, 7:06 PMageax
02/22/2022, 7:10 PMMatt Jones
02/22/2022, 8:23 PMageax
02/22/2022, 9:00 PMAdam Cameron
Simone
02/22/2022, 11:19 PMAdam Cameron
i have to hide the content from user prespectiveThis is not a feature, it's implementation detail. And it's not even a very precise implementation detail because you don't say why. What feature are you trying to implement? And when you answer, and before pressing "send" read what you have typed and ask yourself "is this coherent, and does it answer the question in a helpful way?"