Projects icon indicating copy to clipboard operation
Projects copied to clipboard

file Hash calculator

Open derekriemer opened this issue 8 years ago • 3 comments

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.

derekriemer avatar Aug 24 '17 18:08 derekriemer

Use hashlib, Luke!

AzaubaevViktor avatar Sep 01 '17 03:09 AzaubaevViktor

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.

derekriemer avatar Sep 01 '17 06:09 derekriemer

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

sbelidhe avatar Nov 13 '17 13:11 sbelidhe