[Library] mobl::crypto

Source: crypto.mobl

Functions

md5(s : String) : String

Creates a hexadecimal representation of the MD5 hash of s.

Example:

md5('password') // -> 5f4dcc3b5aa765d61d8327deb882cf99

sha1(s : String) : String

Creates a hexadecimal representation of the SHA1 hash of s.

Example:

sha1('password') // -> 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
mobl/crypto.txt · Last modified: 2013/10/01 02:28 (external edit)