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

test: check that the calculated hashlib.md5 and hashlib.sha512 are 128 and 64 bytes respectively #78

Open
georgemarselis-nvi opened this issue Sep 22, 2023 · 1 comment
Assignees
Labels
testing These here are tests

Comments

@georgemarselis-nvi
Copy link
Collaborator

georgemarselis-nvi commented Sep 22, 2023

        md5sum         = hashlib.md5( filetobehashed ).hexdigest( )
        sha512sum      = hashlib.sha512( filetobehashed ).hexdigest( )
        md5Length      = 16 # 128 bytes
        sha512Length   = 64 # 512 bytes
@georgemarselis-nvi georgemarselis-nvi added the testing These here are tests label Sep 22, 2023
@georgemarselis-nvi georgemarselis-nvi self-assigned this Sep 22, 2023
@georgemarselis-nvi
Copy link
Collaborator Author

image

manual check, checks out.

now, to automate this test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing These here are tests
Projects
None yet
Development

No branches or pull requests

1 participant