GithubHelp home page GithubHelp logo

pombredanne / multihash-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smt923/multihash

0.0 1.0 0.0 2 KB

Generate SHA256, SHA1 and MD5 hashes for files, reading the file once to generate all hashes

License: MIT License

Go 100.00%

multihash-1's Introduction

multihash

Generate SHA256, SHA1 and MD5 hashes for a set of files, reading the file just once for all hashes. Intended to speed up running sha1sum and md5sum on files one after the other (of course there are bash tricks to do this, but this simplifies it greatly)

Usage

Simply run the program followed by one or more files:

./multihash file_one another_file my/folder/third_file

To output something similar to this:

test1.txt
SHA256: 688787d8ff144c502c7f5cffaafe2cc588d86079f9de88304c26b0cb99ce91c6
SHA1: f10e2821bbbea527ea02200352313bc059445190
MD5: 7815696ecbf1c96e6894b779456d330e

test1 copy.txt
SHA256: 688787d8ff144c502c7f5cffaafe2cc588d86079f9de88304c26b0cb99ce91c6
SHA1: f10e2821bbbea527ea02200352313bc059445190
MD5: 7815696ecbf1c96e6894b779456d330e

test2.txt
SHA256: 17f80754644d33ac685b0842a402229adbb43fc9312f7bdf36ba24237a1f1ffb
SHA1: 153fa238cec90e5a24b85a79109f91ebe68ca481
MD5: 58b4e38f66bcdb546380845d6af27187

multihash-1's People

Contributors

smt923 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.