GithubHelp home page GithubHelp logo

greycubesgav / integrity Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 82 KB

GoLang built Command line utility for storing, displaying and checking a file's digest checksum

License: GNU General Public License v3.0

Go 77.23% Dockerfile 0.92% Makefile 13.64% Shell 8.22%

integrity's Introduction

Go Build And Test

Integrity

Command line utility for storing, displaying and checking a file's checksum

Features

  • Supports Linux, FreeBSD and OSX
  • Checksum data is stored in the file's extended attributes so can move with the file
  • Multiple checksum algorithms available (defaults to sha1)
    • md4
    • md5
    • sha1
    • sha224
    • sha256
    • sha384
    • sha512
    • md5sha1
    • ripemd160
    • sha3 224
    • sha3 256
    • sha3 384
    • sha3 512
    • sha512 224
    • sha512 256
    • blake2s 256
    • blake2b 256
    • blake2b 384
    • blake2b 512

Simple Usage examples

Add checksum data to a file

integrity -a file.dat
file.dat : sha1 : added

Display checksum data stored with file

integrity -l file.dat

Validate the file still matches the stored checksum

integrity -c file.dat

Advanced Usage Examples

Add a sha256 checksum to a file

integrity --digest sha256 -a file.dat

Alternatively the Environment variable I_DIGEST may be used

export I_DIGEST="sha256"; integrity -a file.dat

List all the checksums stored with a file

integrity -l -x file.dat

integrity's People

Contributors

greycubesgav 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.