Hash() documentation

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Hash() documentation

Post by jassing » 19 Dec 2019 18:18

Code: Select all

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

What other hashes are supported?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Hash() documentation

Post by Martin » 21 Dec 2019 10:46

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

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: Hash() documentation

Post by jassing » 21 Dec 2019 16:24

Thank you, that is helpful.

Post Reply