hash

command module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Hash

Hash is a command-line application that calculates the hash value of a file or a string. It supports different hash algorithms such as CRC32, CRC64, MD4, MD5, BLAKE2B, BLAKE2S, BLAKE3, SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512.

Usage

$ hash -a sha256 -t "Hello World!"
# sha256: 7f83b1657ff1fc53b92dc18148a1d65dfc2d4b1fa3d677284addd200126d9069

$ hash -a blake3,sha256 -f LICENSE
# blake3: c501c3954d09d06edb3526f374d1cc9a31accec56334b2670439b1b2f1cdf46f
# sha256: 5d34d28675f1bd0cf44da629cc0dafcbf07b06dcc8e207004bbb40cf19796b2b

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL