Skip to content

Commit

Permalink
fixed base64 encode in derive_key()
Browse files Browse the repository at this point in the history
  • Loading branch information
Equat-ion committed Jan 21, 2025
1 parent f437b1b commit 4d7290d
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 @@ -8,7 +8,7 @@

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

return key

Expand Down

0 comments on commit 4d7290d

Please sign in to comment.