

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
Next
ctrl+.
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.
Focus Editor
Alt+Shift+]
Next Tab
Alt+Shift+[
Login to Submit
Login to Run
Login to view solution