Description | The |
Syntax | HASH(”md5”/”sha1”, |
Output | text |
Variables
algorithm
: The cryptographic algorithm to use for hashing. It can be one of the following options:"md5"
or“sha1”
.text
: The input text string that you want to hash.
Example - md5
HASH("md5",`Data`)
ID | Data | HASH |
1 | Hello, World! | 65a8e27d8879283831b664bd8b7f0ad4 |
2 | Savant is awesome | 83e999ae66b90fb41a69012b561e0f77 |
3 | 12345 | 827ccb0eea8a706c4c34a16891f84e7b |
Example - sha1
HASH("Sha1",`Data`)
ID | Data | HASH |
1 | Hello, World! | 0a0a9f2a6772942557ab5355d76af442f8f65e01 |
2 | Savant is awesome | 164d00271cf6d5c25320bf9e374a909245b96185 |
3 | 12345 | 8cb2237d0679ca88db6464eac60da96345513964 |