Hashing
You can create a hash of some text using thehash helper.
encoding option supplied to the helper.
Supported encoding values are hex and base64.
The algorithm option determines the hashing algorithm that will be applied to the input text.
Supported algorithm values are:
sha-1sha-224sha-256sha-384sha-512sha3-224sha3-256sha3-384sha3-512md2md5
Examples
SHA-256 hex encoding:119e3f0d28cf6a92d29399d5787f90308b6b87670d8c2386ec42cb36e293b5c4
MD5 base64 encoding:
J3A5Rbm86ssJVG0uEDrTYA==