crypto-hash-sha512 - produce a SHA512 hash of the input
Reads a complete stream of data from standard input, computes its SHA512 checksum, and prints out the result in hexidecimal.
-b
output in binary mode
Normally, crypto-hash-sha512 exits with 0.
If invalid arguments are given, crypto-hash-sha512 exits with 100.
If an error occurs, crypto-hash-sha512 exits with 111.
This program is a simply a wrapper around the crypto_hash_sha512 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.