Page 1 of 1

Hash() documentation

Posted: 19 Dec 2019 18:18
by jassing

Code: Select all

hash(value, encoding, algorithm)
Calculates the hash of value using
the speciļ¬ed encoding (like UTF-8 or
UTF-16LE) and hashing algorithm (like
MD5 or SHA1).
"like MD5 or SHA1"

What other hashes are supported?

Re: Hash() documentation

Posted: 21 Dec 2019 10:46
by Martin
Hi,

Automagic uses the class MessageDigest for this function so following algorithms could work:
MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512

Regards,
Martin

Re: Hash() documentation

Posted: 21 Dec 2019 16:24
by jassing
Thank you, that is helpful.