digest

get digest for given value (default: MD5)


Parameters

digest value :string :literal

Attributes

shause SHA1

Returns

  • :string
  • or  :nothing

Examples

copy
print digest "Hello world" ; 3e25960a79dbc69b674cd4ec67a72c62

copy
print digest.sha "Hello world" ; 7b502c3a1f48c8609ae212cdfb639dee39673f5e

Related