A Scripting Language for Web, Linux and Windows

A Scripting Language for Web, Linux and Windows

Module: crypt

Support hash algorithms. The module must be loaded with dl('crypt');

See also example Hash algorithms.

Function/Arguments Return Description
crypt (string text, [, string salt]) string Crypt a given text with integrated hash algorithms and optional salt. Crypted string will be returned. This function is full compatible with PHP crypt (). Integrated algorithms: DES, MD5, Blowfish, SHA256, SHA512
md5 (string text, [, bool rawOutput=false]) string Create MD5 hash of given text. Crypted string will be returned. If rawOutput is true, then the string is returned as binary data. This function is full compatible with PHP md5 ().
sha1 (string text, [, bool rawOutput=false]) string Create SHA1 hash of given text. Crypted string will be returned. If rawOutput is true, then the string is returned as binary data. This function is full compatible with PHP sha1 ().

back to Home

V1 Version 0.95 - Documentation generated Thu, 06 Dec 2018 09:52