cancel
Showing results for 
Search instead for 
Did you mean: 

groovy Script

12-20-2023 6:25 AM
manigram Active Participant
378 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

Hi Team,

I have coding in java script, i need the same functionality in groovy script. I have used our standard message digest function but the results are different.

const nonce = CryptoJS.SHA256(pm.collectionVariables.replaceIn('{{$s}}')).toString(CryptoJS.enc.Hex);const encodedNonce = CryptoJS.enc.Base64.stringify(CryptoJS.enc.Utf8.parse(nonce));
Any one has some idea on this please share the idea.

0 Likes

Accepted Solutions (0)

Answers (0)