nstcl  >  Documentation  >  nstcl-misc  >  ns_crypt

Tcl Powered!

ns_crypt

NAME

ns_crypt — Tcl implementation of the C crypt function

SYNOPSIS

package require nstcl-misc ?1.0?
package require nstcl ?1.0?

::nstcl::ns_crypt key salt

DESCRIPTION

This function encrypts the key using the salt and returns the result. The same algorithm as the Unix crypt command is used.

KEYWORDS

misc, nstcl