Loaded standard CryptoJS library as you can see in the screenshot and JS code block in the workflow is not recognizing it
Looks like importing into code snippet directly resolved the issue