Skip to content

A minimal command line tool for computing SHA 256 digests.

License

Notifications You must be signed in to change notification settings

tobybell/sha256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sha256

A minimal command line tool for computing SHA 256 digests.

I created this tool for myself because I wanted to be able to test and use my SHA 256 implementation from libsha256. As a bonus, I also find it easier to remeber than shasum -a 256, the alternative on macOS.

You're welcome to use it if you like.

Usage

This tool has only a single usage mode, in which a message is read from standard in and the digest is written to standard out.

cat my_file.txt | sha256

The 256-bit digest is output directly in binary; if you want to display it in a more human-readable form, you'll need to pipe the output through a formatting tool such as hex.

Installation

You're on your own here. I built this project usng clang and make, so if you have those installed, it-will-probably-just-work. Shouldn't be too hard to be build it yourself using other tools, though.

License

This software is provided under the MIT License. Go wild.

About

A minimal command line tool for computing SHA 256 digests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published