Simply put, Cryptography provides a method for secure communication. By using cryptography, we can send secret messages to others across an insecure medium (like the internet), and be sure that only the intended recipients will be able to read the message.
In this course, we'll be writing code in Go that makes up part of "Passly", a password manager. To start, let's write a function that will debug the logic that encrypts and decrypts passwords!
We encrypt passwords so that if an attacker gains access to the computer on which the passwords are stored, they still won't be able to read the passwords.
Complete the debugEncryptDecrypt function.
Don't worry, we'll talk about how keys, ivs, and ciphers work in more detail later.