diff --git a/netutils/password.py b/netutils/password.py index 5be0327d..ea44c890 100644 --- a/netutils/password.py +++ b/netutils/password.py @@ -195,16 +195,12 @@ def encrypt_type5(unencrypted_password: str, salt: t.Optional[str] = None, salt_ def encrypt_type7(unencrypted_password: str, salt: t.Optional[int] = None) -> str: """Given an unencrypted password of Cisco Type 7 password, encypt it. - Args: unencrypted_password: A password that has not been encrypted, and will be compared against. salt: A random number between 0 and 15 that can be set by the operator. Defaults to random generated one. - Returns: The encrypted password. - str (optional): The encrypted password. - - Example: + Examples: >>> from netutils.password import encrypt_type7 >>> encrypt_type7("cisco", 11) '110A1016141D'