CryptoMd5
Used to generate MD5 hashes of data. As MD5 is not 100% secure anymore, please use with caution. This ought to only be used for compatibility with legacy systems and not used in any new system.
- namespace CryptoMd5
class Md5Hash[link]
Creates a new empty instance of an MD5 hash.
Methods from CryptoCommon.AbstractHash can be used to add data to the hash and to digest it.
Typical usage: hash = new Md5Hash().addText("Hello, World").digestHex();
new Md5Hash(suppressWarning)[link]
Creates a new instance of the MD5 hash and, by default, prints out a warning message about it being unsafe.
Arguments
Name | Type | Optional | Description |
---|---|---|---|
suppressWarning | string | Optional | This parameter will suppress the warning if you pass in the string 'unsafe'. |