Lasso Soft Inc. > Home

[Encrypt_MD5]

[Encrypt_MD5] generates a 128 bit hash value for a string. Accepts one parameter, a string to be encrypted.

The MD5 hash value is a 128 bit string that identifies the input string. This is a one way operation. There is no way to 'decrypt' the hash value back into the input string.

Passwords can be stored by generating an MD5 hash value for each password and storing it instead of the plaintext password. In order to validate a password, the input from the site visitor is also used to generate an MD5 hash value and then the new hash value is compared to the stored hash value. If they match, the password given was the same as the password which is being stored.

  • Syntax
  • Parameters
[Encrypt_MD5: 'Hash Value']
Required Parameters
Hash Value The string for which an MD5 hash should be generated.
Examples

To generate an MD5 hash value for a string:

Use the [Encrypt_MD5] tag. The following example shows how to create an MD5 hash value for a string.

[Encrypt_MD5: 'The quick brown fox jumped over the lazy dog.']
Result:
5c6ffbdd40d9556b73a21e63c3e0e904
Tag Link [Encrypt_MD5] Category Encryption
Type Substitution Data Source Any
Support Preferred Version 5.0
Output Type String Security None
Implementation LCAPI Sets Lasso 7.0, Lasso 6.0, Lasso 5.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft