From the course: JavaScript: Security Essentials

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Overview of the encryption

Overview of the encryption

- If you have a good understanding of encryption basics, feel free to skip this video. Otherwise, follow along. Cryptography has been part of our lives for centuries, and some of the techniques used way back are still relevant today. The main principle of cryptography is first you have the message, or the data you want to encrypt, then, with a passphrase or a key, the data is encrypted, so anyone who reads this data once encrypted, can understand what was the source of the data. Only through passing the key, or passphrase can the encrypted data referred to as cipher text, be decrypted and read normally. This is how Visionaire was encrypting messages back in the 18th century, and it's still how we encrypt messages with much more complex algorithms today, but it is in principle, the same approach. So when you build an application, you leverage a library that provides you with the cryptography tools to encrypt your data, while it moves across the internet from your server to your client.…

Contents