File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ def extractJSONEncodedListArg(listArg: str):
6565 return extractedList
6666
6767
68- def doType7obfuscation (plaintext : str , salt : int , obf : str ):
68+ def doType7Obfuscation (plaintext : str , salt : int , obf : str ):
6969 """
7070 Perform Type 7 password obfuscation using XOR encoding.
7171
7272 Args:
73- plaintext : The plaintext password to obfuscate.
74- salt : The salt value (0-99) to use for obfuscation.
75- obf : The obfuscator string to use for obfuscation.
73+ plaintext (str) : The plaintext password to obfuscate.
74+ salt (int) : The salt value (0-99) to use for obfuscation.
75+ obf (str) : The obfuscator string to use for obfuscation.
7676
7777 Returns:
7878 The obfuscated password as a string.
@@ -94,8 +94,8 @@ def doSHA512Hashing(plaintext: str, salt: str):
9494 Generate SHA-512 password hash using Unix crypt format.
9595
9696 Args:
97- plaintext: The plaintext password to hash.
98- salt: Salt string (only alphanumeric characters, periods, and slashes are used).
97+ plaintext (str) : The plaintext password to hash.
98+ salt (str) : Salt string (only alphanumeric characters, periods, and slashes are used).
9999
100100 Returns:
101101 The hashed password in Unix crypt format ($6$salt$hash).
You can’t perform that action at this time.
0 commit comments