Skip to content

add salt for hashing#7

Open
verjiniaM wants to merge 1 commit intoASPP:mainfrom
verjiniaM:feature/salt
Open

add salt for hashing#7
verjiniaM wants to merge 1 commit intoASPP:mainfrom
verjiniaM:feature/salt

Conversation

@verjiniaM
Copy link

Added a random number generator as salt

Copy link
Member

@jakobj jakobj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thanks! 🚀

left a comment that should be addressed before merging

json.dump(pwdb, pwdb_file)

def pwhash(password):
def pwhash(password, salt):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in this implementation, the pwhash function needs to be "aware" of the fact that you're using hashing. could you think of a way to avoid this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants