RFC 6234

RFC6234 describes US Secure Hash Algorithms (SHA) which might be more familiar as SHA256 and the like.

RFC 6234 Constants

The SHA algorithms are selected using one of the following symbols: SHA1, SHA224, SHA256, SHA384 and SHA512.

RFC 6234 Functions

function shasum-file file [alg]

shasum the contents of file

Param file:

file

Type file:

pathname or string

Param alg:

SHA algorithm, defaults to 'SHA256

Type alg:

symbol, optional

Return:

digest

Rtype:

string

function shasum-fd fd [alg]

shasum the contents from fd

Param fd:

fd

Type fd:

file descriptor

Param alg:

SHA algorithm, defaults to 'SHA256

Type alg:

symbol, optional

Return:

digest

Rtype:

string

function shasum-string s [alg]

shasum the string s

Param s:

string

Type s:

string

Param alg:

SHA algorithm, defaults to 'SHA256

Type alg:

symbol, optional

Return:

digest

Rtype:

string

Last built at 2024-05-17T06:10:48Z+0000 from 62cca4c (dev) for Idio 0.3.b.6