cryto.createHash sha512 with hexDigest input type
问题 I am trying to get the same result I obtain at http://jssha.sourceforge.net/ where I have the word 'testing' in question: var word = 'testing'; var hex = toHex(word); // '740065007300740069006e006700'; on jssha when selecting input type as HEX with the value of the hex variable and SHA-512 I get the following result: 6e42b2c2a6351036b78384212774135d99d849da3066264983e495b5f74dc922e3d361b8ea9c8527169757233ed0bd4e56b2c42aab0a21bbcca67219dc53b472 although I can't achieve the same result with