Python Public Chatroom
LoneAce (191)

Hello there!

Here is a small chatroom I coded with the Python Language. The method is very simple compared to other chatrooms so feel free to take reference from the code!

You can do /read to read without having to press enter

Link is here:
https://repl.it/@LoneAce/Python-Chatroom

PS: Pls upvote!


A journey of a thousand lines begin with a single line


Updates:

  • Fixed Bug where people can become mod easily by entering [MOD] in their name
You are viewing a single comment. View All
LoneAce (191)

@sanjaykdragon Cool thanks! Saw the code and I gotta admit it's really neat

LoneAce (191)

@sanjaykdragon However my main purpose for the password is to access the Mod status using my email, great job on encrypted password though

sanjaykdragon (172)

@LoneAce What do you mean? Like the email has a specific message saying "mod" or something? IMO my way is safer and better because now we wont spam smtp servers

LoneAce (191)

@sanjaykdragon Right my bad for not explaining correctly. I mean that the password I use to enter the Mod account is not anywhere in the code nor there is any way to obtain it using repl.it code as it is the password to my email address.

sanjaykdragon (172)

@LoneAce yes, and roughly the same way with my code. My code is hashed, meaning that it is like a 1way password - you can see the "hashed password", but you have to know the real password for it to work.

LoneAce (191)

@sanjaykdragon I understand but just asking, if someone else were to read the code and use the same method of "unhashing", would they be able to get the password?

sanjaykdragon (172)

@LoneAce once a password is hashed, there is no way to unhash it (except for bruteforce, but since I used bcrypt, that will take years). Read up on hashing