Skip to content

Commit

Permalink
Merge pull request #31 from UBC-MDS/week1-decfun
Browse files Browse the repository at this point in the history
docstring format adjustment decfun
  • Loading branch information
Kierst01 authored Jan 12, 2024
2 parents eb0961f + 81097f3 commit b17eeb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/passwordler/decrypt_password.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ def decrypt_password(password, key):
"""
Decrypt an encrypted password.
This function decrypts an encrypted string. It supports the Advanced Encryption Standard (AES) encryption, which is widely used to secure sensitive data. Employing the provided key, the function decrypts the password, ensuring it matches the encryption algorithm applied during the encryption process. The function returns the original, human-readable password.
This function decrypts an encrypted string. It supports the Advanced Encryption Standard (AES)
encryption, which is widely used to secure sensitive data. Employing the provided key, the
function decrypts the password, ensuring it matches the encryption algorithm applied during the
encryption process. The function returns the original, human-readable password.
Parameters:
password (bytes): The encrypted password to be decrypted.
Expand Down

0 comments on commit b17eeb6

Please sign in to comment.