checksum 0.0.2
dotnet add package checksum --version 0.0.2
NuGet\Install-Package checksum -Version 0.0.2
<PackageReference Include="checksum" Version="0.0.2" />
paket add checksum --version 0.0.2
#r "nuget: checksum, 0.0.2"
// Install checksum as a Cake Addin #addin nuget:?package=checksum&version=0.0.2 // Install checksum as a Cake Tool #tool nuget:?package=checksum&version=0.0.2
checksum - Command line file checksum validator.
checksum checks a file and returns a checksum for both md5 and sha1.
To use checksum you would simply provide a file path and it will return the sum for the file.
Example: checksum -f="relative\path"
Example: checksum "relative\path"
Example: checksum -f="c:\absolute\path" -t=sha1
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 "c:\\path\to\somefile.exe" -c="thehash"
Example: checksum -f="c:\\path\to\somefile.exe" -c="thehash" -t=sha1
SYNOPSIS
checksum [-t=sha1|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
-t, --type, --hashtype=VALUE
Optional: hashtype - 'md5' or 'sha1' Defaults to 'md5'.
-c, --check=VALUE
Optional: check - the signature you want to check. Not case sensitive.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.