Created
February 7, 2019 17:35
-
-
Save seanlindo/0a7c4b5a132a627d973e9d1189bfbae6 to your computer and use it in GitHub Desktop.
Converting the object representation of a CryptoJS MD5 operation to a string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import CryptoJS from 'crypto-js' | |
const existingWordArray = { "words":[593801488,323531804,-1673786026,-853885382], "sigBytes":16 } | |
const md5Hash = CryptoJS.lib.WordArray.create(existingWordArray.words, existingWordArray.sigBytes).toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment