Sprig provides a couple of advanced cryptographic functions.
The sha1sum function receives a string, and computes it's SHA1 digest.
sha1sum "Hello world!"
The sha256sum function receives a string, and computes it's SHA256 digest.
sha256sum "Hello world!"
The above will compute the SHA 256 sum in an "ASCII armored" format that is safe to print.
The sha512sum function receives a string, and computes it's SHA512 digest.
sha512sum "Hello world!"
The above will compute the SHA 512 sum in an "ASCII armored" format that is safe to print.
The adler32sum function receives a string, and computes its Adler-32 checksum.
adler32sum "Hello world!"