Skip to content

Commit

Permalink
fixes the docstring of aes_decrypt params (#28)
Browse files Browse the repository at this point in the history
It looks like the parameters of aes_decrypt were changed at some point
but the docstring was not updated. This made using the function in the
cli super confusing.
  • Loading branch information
tecknicaltom committed Sep 26, 2023
1 parent bcf3a62 commit b745601
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chepy/modules/encryptionencoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,8 @@ def aes_decrypt(
iv (str, optional): IV for certain modes only.
Defaults to '00000000000000000000000000000000'.
mode (str, optional): Encryption mode. Defaults to 'CBC'.
hex_key (bool, optional): If the secret key is a hex string. Defaults to False.
hex_iv (bool, optional): If the IV is a hex string. Defaults to True.
key_format (str, optional): Format of key. Defaults to 'hex'.
iv_format (str, optional): Format of IV. Defaults to 'hex'.
Returns:
Chepy: The Chepy object.
Expand Down

0 comments on commit b745601

Please sign in to comment.