[willdye] 'Dunno why this old man page is in the Tcl Wiki, but if you're looking for a way to perform the crypt function in Tcl, then the link you want is probably "crypt in pure tcl", at: http://wiki.tcl.tk/1070 [JMN] 2005-08-31 The "crypt in pure tcl" above is packaged as 'tclcrypt' in the [TclHttpd] distribution. In the non-starkit TclHttpd distribution, there is also the much faster binary version packaged as 'crypt'. These are also available separately here: http://vectorstream.com/tcl/packages/ The [trf] package also provides the crypt function, but apparently not on the Windows platform at least. While on the general subject - beware that at least one crypt implementation (crypt.exe in Cygwin on Windows) takes its 'password & salt' arguments in the reverse order to that of the Tcl implementations mentioned above. The man page below appears to be from a different unix crypt function - i.e not the one commonly used for encrypting passwords for HTTP. ---- User Commands crypt(1) NAME crypt - encode or decode a file SYNOPSIS crypt [ password ] DESCRIPTION crypt encrypts and decrypts the contents of a file. crypt reads from the standard input and writes on the standard output. The password is a key that selects a particular transformation. If no password is given, crypt demands a key from the terminal and turns off printing while the key is being typed in. crypt encrypts and decrypts with the same key: example% crypt key encrypted.file example% crypt key