From the course: JavaScript: Security Essentials
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Overview of the encryption - JavaScript Tutorial
From the course: JavaScript: Security Essentials
Overview of the encryption
- [Instructor] If you have a good understanding of encryption, 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 ciphertext, be decrypted and read normally. This is how Vigenere was encrypting messages back in the 18th century, and it's still how we encrypt messages with much more complex algorithms today, but 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.