Skip to content

simple command-line tool for generating hashes from input file or string

License

Notifications You must be signed in to change notification settings

kulichkoff/hasha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hasha

hasha is a simple command-line tool for generating hashes from input data. This tool is useful for verifying data integrity and creating secure checksums.

Table of Contents

Installation

To install hasha, you can check "releases" page. Here you should download a version for your platform.

Usage

You can generate hash using different algorithms. Now the tool supports SHA256 and MD5. SHA256 algorithm is used by dafault.

To calculate hash for the string just run:

hasha "some string"

or

hasha -a md5 "some string"

ALso, you can calculate hash for the file! You can specify hash algorithm if necessary.

hasha path/to/file

Or use unix pipes:

cat file | hasha -a sha256
cat file | hasha
cat file | hasha -a md5

You can also use hasha output to save in a file:

hasha path/to/file > chksum_sha256
hasha -a md5 path/to/file > chksum_md5

Contribute

Unfortunately, hasha is not ready for community contribution now. You can make a feature request or bug report on "Issues" page.

About

simple command-line tool for generating hashes from input file or string

Topics

Resources

License

Stars

Watchers

Forks