awesomearjun / Login-System

A login system in C++
10 stars 1 forks source link

Challenge: Encrypt the passwords #1

Open LukeGi opened 1 year ago

LukeGi commented 1 year ago

Currently, your program stores the passwords in a text file that if someone got their hands on it, would leak the passwords stored within to the world. If you can work out how to encrypt the passwords before storing them, and use the same method when checking them, you will get the same output and can use encryption to protect the user's data.

awesomearjun commented 1 year ago

they are your own passwords

awesomearjun commented 1 year ago

and + as long as you don't put your ACTUAL passwords and you don't share the files and don't get hacked you're fine

Dopaminos commented 1 year ago

they meant that you can store passwords as encrypted in files and if you wanna use them, program should decrypt it itself to check if password is right locally (not in files)