-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HashRedact #59
HashRedact #59
Conversation
…he required columns to the hexa representation of the hash value that returned from the python built-in hash() function. Signed-off-by: Mohammad Nassar <[email protected]>
@Mohammad-nassar10 a PR should always be linked with an issue. |
@ronenkat I added an issue, can you please check it? |
Signed-off-by: Mohammad Nassar <[email protected]>
afm/pep/actions.py
Outdated
hashFunc = hashlib.md5 | ||
if algo == "md5": | ||
hashFunc = hashlib.md5 | ||
elif algo == "sha1": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please replace SHA1 with SHA256 and SHA512, suggest we support both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets remove SHA1 and replace with two SHA2 implementatios
Signed-off-by: Mohammad-nassar10 <[email protected]>
Adding sha256 and sha512 to hash redact.
Adding a new method of transformation, where changing each value in the required columns to the hexa representation of the hash value that returned from the python built-in hash() function.
Signed-off-by: Mohammad Nassar [email protected]