Gzip encryption


For using an API, i need to pass in the body a string encrypted with base64+gzip. I found the way to encrypt with base64, but not in gzip.

My code :

var CryptoJS = require(‘crypto-js’)

pm.collectionVariables.set(“blocB_decode”, “test”);
var blocB_code = CryptoJS.enc.Utf8.parse(“blocB_decode”)
var blocB_code = CryptoJS.enc.Base64.stringify(blocB_code);

Anyone already did this please?

anyone can help me plz?