Skip to content

Commit

Permalink
update File IO
Browse files Browse the repository at this point in the history
  • Loading branch information
rambasnet committed Nov 6, 2024
1 parent b8372ff commit 6041997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/Ch10-1-Files.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1849,8 +1849,8 @@
"source": [
"salt = get_random_salt()\n",
"print(f'{salt = }')\n",
"salted_password = 'P@ssw0rd'+salt\n",
"hashed_password = get_hashed_password('P@ssw0rd', salt)\n",
"password = 'P@ssw0rd' # prompt user to enter the password\n",
"hashed_password = get_hashed_password(password, salt)\n",
"print(f'{hashed_password = }')"
]
},
Expand Down

0 comments on commit 6041997

Please sign in to comment.