======crypt====== Calculate the hash of a [[PTPScript:Types:String|String]], using DES or alternatives on the system. \\ **Syntax** * ''[[PTPScript:Types:String|String]] crypt( [[PTPScript:Types:String|String]] subject [, [[PTPScript:Types:String|String]] salt ] )'' \\ **Parameters** * [[PTPScript:Types:String|String]] ''subject'' - The String to calculate a hash for. * [[PTPScript:Types:String|String]] ''salt'' - An optional String to salt the encryption with. If no salt is specified, one is randomly generated. \\ **Result** * [[PTPScript:Types:String|String]] - The encrypted hash. Returns the encrypted hash of ''subject''. The hash returned depends upon what encryption algorithms are available on the system.