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

file Hash calculator #112

Open
derekriemer opened this issue Aug 24, 2017 · 3 comments
Open

file Hash calculator #112

derekriemer opened this issue Aug 24, 2017 · 3 comments

Comments

@derekriemer
Copy link

Write an application, which takes in a file name, and a hashing type, I.E. md5, sha1, sha2, crc, bcript, ... and gives you the hash of the given file as a hex string.
For added complexity, take in a GPG key, or a link to one, and verify that the signature on a file is that of the given key.

@AzaubaevViktor
Copy link

Use hashlib, Luke!

@derekriemer
Copy link
Author

yes, of course. I'm not advocating asking beginners to write cripto libs, which is downright dangerous. I wouldn't attempt writing a cripto lib if my boss asked me to, because i'm simply not qualified.

@sbelidhe
Copy link

one can use sphlib to implement file hashing in java. For algorithms like (MD2 , MD5 , SHA-1 , SHA-256 , SHA-512 , SHA-384 ) one can refer to FileHashing file written in java for reference

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

No branches or pull requests

3 participants