Skip to content

Commit

Permalink
fix: changed message to password in example file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kierst01 committed Feb 2, 2024
1 parent 153d847 commit 2b8e0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"source": [
"### Encrypt a Password\n",
"\n",
"The `encrypt_password` function encrypts a message using a simple substitution cipher, by substituting each character with a corresponding character from a shuffled set. It uses the same set of characters as the decryption function, so they can work in tandem. Its first argument, `message`, requires a string input, while the second optional argument, `random_seed`, accepts an integer value."
"The `encrypt_password` function encrypts a password using a simple substitution cipher, by substituting each character with a corresponding character from a shuffled set. It uses the same set of characters as the decryption function, so they can work in tandem. Its first argument, `password`, requires a string input, while the second optional argument, `random_seed`, accepts an integer value."
]
},
{
Expand Down Expand Up @@ -317,7 +317,7 @@
"metadata": {},
"source": [
"### Decrypt a Password\n",
"The `decrypt_password` function decrypts a password that has previously been encrypted with the `encrypt_password` function. It requires the same seed that was used in the `encrypt_password`. It takes two arguments, the first `encrypted_message` is the encrypted password passed in as a string. The `random_seed` argument is the seed that was used to encrypt the password, passed in as an integer value.\n",
"The `decrypt_password` function decrypts a password that has previously been encrypted with the `encrypt_password` function. It requires the same seed that was used in the `encrypt_password`. It takes two arguments, the first `encrypted_password` is the encrypted password passed in as a string. The `random_seed` argument is the seed that was used to encrypt the password, passed in as an integer value.\n",
"\n",
"#### Decryption Defaults\n",
"The next time Bob tries to log in to Facebook, he can't remember his password. Bob knows where he saved his encrypted password on his computer, but he cannot find the seed, so he tries to decrypt his encrypted password with the default settings."
Expand Down

0 comments on commit 2b8e0a5

Please sign in to comment.