Skip to content
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

Merged
merged 5 commits into from
Jan 13, 2022
Merged

HashRedact #59

merged 5 commits into from
Jan 13, 2022

Conversation

Mohammad-nassar10
Copy link
Contributor

@Mohammad-nassar10 Mohammad-nassar10 commented Mar 14, 2021

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]

…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 Mohammad-nassar10 changed the title Adding a new method of transformation, where changing each value in t… HashRedact Mar 14, 2021
@ronenkat
Copy link
Collaborator

@Mohammad-nassar10 a PR should always be linked with an issue.
Please create an issue describing why you are making this contribution --- the motivation and the requirements on how the feature/code should behave and what is expected from it.

@ronenkat ronenkat self-requested a review March 15, 2021 09:21
@Mohammad-nassar10
Copy link
Contributor Author

@ronenkat I added an issue, can you please check it?
How can I link this PR to the issue?

Signed-off-by: Mohammad Nassar <[email protected]>
hashFunc = hashlib.md5
if algo == "md5":
hashFunc = hashlib.md5
elif algo == "sha1":
Copy link
Collaborator

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.

Copy link
Collaborator

@ronenkat ronenkat left a 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

@roytman roytman merged commit 9aaa8ce into fybrik:master Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants