Bring the power of jCrypt from CF to the client-side
Hello, all,
I was just giving some thought to encryption, and considered something. But I don't know how to do it, and I'm wondering if it's even possible.
Is there a way to bring CF jCrypt to the client? Hear me out.
In a MITM attack, the malicious actor gets in between the client and the server, with the client encryption to the MITM device, which decrypts it, logs it, re-encrypts it to the server. So, if I understand correctly, a user logging on to, say, their banking would provide the username and password for their account in, ostensibly, clear text to the malicious actor.
Now, I know about ajaxproxy and it's ability to connect Javascript to CF functions. But using ajaxproxy to access a jCrypt function to hash the password is still sending in 'clear text' in a MITM attack scenario. Right? Or am I missing something? I assumed that the ajaxproxy just made server-side functions available, but information still has to be passed back-and-forth over a network connection.
Which makes me wonder: is it possible to grant the client the functionality of jCrypt to the client so that the client can hash the password before sending it? Or am I just delusional? (Don't answer that too fast, guys. 🙂 )
What you think?
V/r,
^ _ ^
