Cryptography and how to deal with man-in-the-middle attacks in JavaScript | Hacker News Reader