Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Server password and token hashing #9

Open
vaspatrik opened this issue May 9, 2015 · 0 comments
Open

Server password and token hashing #9

vaspatrik opened this issue May 9, 2015 · 0 comments

Comments

@vaspatrik
Copy link
Collaborator

Password and token needs to be hashed.
A recommended implementation would be: Cpp sha256

Password hash recomanded way:
ChatHandler.cpp

user.setPassword(sha256(user.getPassword() + GlobalClass::SALT))

Token hashing way:
ChatHandler.cpp

token = sha256(GlobalClass::converter(rand() + id) + "token");
@vaspatrik vaspatrik added this to the Realease v1.0 milestone May 9, 2015
@thortilla thortilla removed their assignment May 17, 2015
@ablenesi ablenesi removed this from the Realease v1.0 milestone May 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants