Giter Site home page Giter Site logo

hashslinger's Introduction

HashSlinger is a command line tool for computing hashes of files.
Any hash type supported by the .Net CryptoTransform classes
may be computed (MD5 is the default).
It can treat multiple files as a continuous stream, so it can be used
to verify the integrity of large files that have been split.
A class library (HashSlingerCore.dll) is available for developers (MIT X11 licensed).

Version 4.0 of the .Net framework is required.

Visual C# 2010 Express (with SP1), NUnit 2.5, Warsetup 3.13, and Wix 3.5 were used
to build, and test the project.

HashSlinger uses/includes the following third party components:
- CommandLine Parser library (v1.8 stable) - 
        http://commandline.codeplex.com/
- Hash icon provided by IconArchive under CC 3.0 License - 
        http://www.iconarchive.com/show/red-orb-alphabet-icons-by-iconarchive/Hash-icon.html
- Installer graphics from Open Clip Art (public domain) - 
	http://openclipart.org/detail/139579/amateur-astronomer-by-sunking2
        http://openclipart.org/detail/28059/spyglass1-by-crimperman

Usage:

   hashslinger [-a {MD5|MD160|SHA1|SHA256|SHA384|SHA512}] [-b blocksize] [-c] file [file2 ...]

Options:
        -a, --algorithm         Sets hash algorithm. Default is MD5.
        -b, --blocksize         Block size in bytes. Default is 16384.
        -c, --concat            Treat all files as a single stream. Default is false.

Example:

   hashslinger -a MD5 -b 65536 foo.txt

Computes MD5 hash for foo.txt using a 65536 byte transform block.

Example 2:

   hashslinger -c foo.txt foo2.txt

Computes MD5 hash for foo.txt and foo2.txt as if they were one continuous file.
Can be used to determine if a file (ie if foo.txt and foo2.txt are parts
of a large media file created by a filesplitter) was split properly.

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.