Whats the best way to make login in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Whats the best way to make login in python?

is needed to save usernames and passwords in a file?

9th Apr 2017, 5:24 AM
hamid
hamid - avatar
4 Answers
+ 7
The best way is to store this data in a hashed file. However if you are just having fun creating program checking the password-username matching, on this (testing) stage you can just store all that in dictionary
9th Apr 2017, 5:37 AM
Dinmukhamed Mailibay
Dinmukhamed Mailibay - avatar
+ 6
Hashing is encrypting data via some algorithm that would make passwords difficult to crack. In general, hash tabling checks the sum of each piece (or property) of data. Here you go: https://www.quora.com/How-do-I-create-my-own-Hash-Table-implementation-in-JUMP_LINK__&&__Python__&&__JUMP_LINK
9th Apr 2017, 5:50 AM
Dinmukhamed Mailibay
Dinmukhamed Mailibay - avatar
0
whats hashed file? and how to create it?
9th Apr 2017, 5:43 AM
hamid
hamid - avatar
0
thank you :))
9th Apr 2017, 6:04 AM
hamid
hamid - avatar