Skip to content

Commit

Permalink
removed temporary key
Browse files Browse the repository at this point in the history
  • Loading branch information
Equat-ion committed Jan 21, 2025
1 parent 377a4b6 commit 6da8e54
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/core_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@
import base64

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

return key

encryption_key = b"86sn3NYCM_CHc7Kq5qe2qjFCjcb1B6tf9KeNlOUMhm0=" # TEMPORARY KEY


if os.name == 'nt': # Windows
data_filepath = Path(os.getenv("APPDATA")) / "permutations"
elif os.name == 'posix':
Expand Down

0 comments on commit 6da8e54

Please sign in to comment.