Calculate the hash of a String, using DES or alternatives on the system.



  • String subject - The String to calculate a hash for.
  • String salt - An optional String to salt the encryption with. If no salt is specified, one is randomly generated.


  • String - The encrypted hash.

Returns the encrypted hash of subject. The hash returned depends upon what encryption algorithms are available on the system.

ptpscript/functions/crypt.txt · Last modified: 2007/01/24 10:15
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki