RosettaCodeData/Task/CRC-32/Mathematica/crc-32.math

7 lines
192 B
Text
Raw Permalink Normal View History

2018-08-17 15:15:24 +01:00
type="CRC32"; (*pick one out of 13 predefined hash types*)
StringForm[
"The "<>type<>" hash code of \"``\" is ``.",
s="The quick brown fox jumps over the lazy dog",
Hash[s,type,"HexString"]
]