# CryptoJS.enc.Base64.stringify(hash) conversion

**URL:** <https://discourse.nodered.org/t/cryptojs-enc-base64-stringify-hash-conversion/54249>\
**Category:** General\
**Created:** [25 November 2021 07:13 UTC](https://discourse.nodered.org/t/cryptojs-enc-base64-stringify-hash-conversion/54249 "2021-11-25T07:13:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DipikaSamanta](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@DipikaSamanta](https://discourse.nodered.org/u/DipikaSamanta)\
**Post date:** [25 November 2021 07:13 UTC](https://discourse.nodered.org/t/cryptojs-enc-base64-stringify-hash-conversion/54249/1 "2021-11-25T07:13:58Z")

</div>

Hello  
I have this code in js. To make this code in node red, I have used JSON node and then cryptojs decode Utf8 and then cryptojs encode base64.  
After this all, still I am not getting the values of js and node red output same  
Can anyone please help me to make the js code in node red

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [25 November 2021 13:09 UTC](https://discourse.nodered.org/t/cryptojs-enc-base64-stringify-hash-conversion/54249/2 "2021-11-25T13:09:55Z")

</div>

Can you provide sample data (using an inject node) and a demo flow. Please also include information on what the end result is supposed to look like?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 January 2022 13:10 UTC](https://discourse.nodered.org/t/cryptojs-enc-base64-stringify-hash-conversion/54249/3 "2022-01-24T13:10:36Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
