Skip to content

Commit

Permalink
fixed hashing mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
Equat-ion committed Jan 21, 2025
1 parent 4d7290d commit 377a4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import base64

def derive_key(master_password):
key = hashlib.sha256(master_password)
key = hashlib.sha256(master_password).digest()
key = base64.urlsafe_b64encode(key)

return key
Expand Down

0 comments on commit 377a4b6

Please sign in to comment.