Hash
Available, differs from the .wl reference
Computes a hash of an expression.
Differs from the .wl reference: `Hash[expr]` for non-strings
Hash[expr]
Hash[expr, type]
Hash[expr, type, "format"]
Hash["hello", "MD5", "HexString"]
→ 5d41402abc4b2a76b9719d911017c592Hash["abc", "SHA3-256", "HexString"]
→ 3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532Hash["abc", "Keccak256", "HexString"]
→ 4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45Hash[ByteArray[{97, 98, 99}], "MD5", "HexString"]
→ 900150983cd24fb0d6963f7d28e17f72 All 6300 functions ·
Use this from an MCP client