encryptor.helper.ts 179 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 const CryptoJS = require('crypto-js'); export const encryptBody = (data: any) => { return { data: CryptoJS.AES.encrypt(JSON.stringify(data), 'ditohash').toString() }; };