NaviServer - programmable web server
4.99  5.0

[ Main Table Of Contents | Table Of Contents | Keyword Index ]

ns_md5(n) 4.99.30 naviserver "NaviServer Built-in Commands"

Name

ns_md5 - Returns a 32-character, hex-encoded string containing the MD5 hash of the first argument

Table Of Contents

Synopsis

Description

A cryptographic hash (sometimes called digest) is a kind of signature for a text or a data file. MD5 generates an almost-unique 128-bit signature for a text.

COMMANDS

ns_md5 ?-binary? ?--? string

Compute an MD5 checksum from the provided string When the option -binary is used, the Tcl byte array value of the provided input argument is used and no UTF-8 interpretation is performed.

 nscp 2> ns_md5 test   
 098F6BCD4621D373CADE4E832627B4F6

See Also

ns_base64, ns_crypt, ns_hmac, ns_md, ns_rand, ns_sha1, nsd

Keywords

crypto, encoding, global built-in