Coder Social home page Coder Social logo

checksum's Introduction

checksum

Validates MD5/SHA1/SHA256/SHA512 CheckSums on the command line.


checksum - File CheckSum Validator - https://github.com/ferventcoder/checksum
                    forked version - https://github.com/jftuga/checksum
License: Apache v2

checksum checks a file and returns a check sum for md5, sha1, sha256 and sha512.

To use checksum you would simply provide a file path and it will return the sum for the file.
  Example: checksum -f="a\relative\path"
  Example: checksum -f="a\relative\path"
  Example: checksum "a\relative\path" -t=sha256

You can also check against an existing signature.
To validate against an existing signature (hash) you would simply provide
 the file and the expected signature. When checking a signature, if the 
 signature is valid it exits with 0, otherwise it exits with a non-zero exit code.
  Example: checksum -f="c:\\path\to\somefile.exe" -c="thehash"
  Example: checksum "c:\\path\to\somefile.exe" -c="thehash" -t=sha256

 == Synopsis == 
  checksum [-t=sha1|sha256|sha512|md5] [-c=signature] [-f=]filepath

== Options ==
  -?, --help, -h             Prints out the options.
  -f, --file=VALUE           REQUIRED: file - The is the name of the file. 
                               The file should exist. You do not need to 
                               specify -f or -file in front of this argument.
  -t, --type, --hashtype=VALUE
                             Optional: hashtype - 'md5', 'sha1', 'sha256' or 
                               'sha512'. Defaults to 'sha256' or is determined 
                               by length of passed check value.
  -c, --check=VALUE          Optional: check - the signature you want to 
                               check. Not case sensitive.

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.