crypto-hash-sha256

 

NAME

crypto-hash-sha256 - produce a SHA256 hash of the input  

SYNOPSIS

crypto-hash-sha256 [-b]  

DESCRIPTION

Reads a complete stream of data from standard input, computes its SHA256 checksum, and prints out the result in hexidecimal.

-b     
output in binary mode

 

EXIT CODE

Normally, crypto-hash-sha256 exits with 0.

If invalid arguments are given, crypto-hash-sha256 exits with 100.

If an error occurs, crypto-hash-sha256 exits with 111.  

CRYPTOGRAPHY

This program is a simply a wrapper around the crypto_hash_sha256 function provided by NaCl, the Networking and Cryptography library by Daniel J. Bernstein and Tanja Lange. See the official website http://nacl.cr.yp.to/ for details.  

AUTHOR

Jay Sullivan <jay@identity.pub>