# Looking for aes-256-ecb decrypt plugin

**URL:** <https://forum.bubble.io/t/looking-for-aes-256-ecb-decrypt-plugin/332166>\
**Category:** Plugins\
**Created:** [July 23, 2024, 10:11am UTC](https://forum.bubble.io/t/looking-for-aes-256-ecb-decrypt-plugin/332166 "2024-07-23T10:11:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![titie61124](https://avatars.discourse-cdn.com/v4/letter/t/9de0a6/32.png) [@titie61124](https://forum.bubble.io/u/titie61124)\
**Post date:** [July 23, 2024, 10:11am UTC](https://forum.bubble.io/t/looking-for-aes-256-ecb-decrypt-plugin/332166/1 "2024-07-23T10:11:58Z")

</div>

![Screen Shot 2024-07-23 at 4.36.54 PM](https://us1.discourse-cdn.com/bubble/original/3X/2/0/20a77467e9efaffb11c1abb6089434b546bbca85.jpeg)  
I am trying to make an integration and i need to decrypt the return encrypted data. I don’t see any plugins to decrypt aes-256-ecb. Any recommendation?

Any other option to decrypt in backend?  
Decryption javascript is as follows

crypto.decryptAES = (data, key)  
=\> {try{  
let decryptKey = CryptoJS.enc.Utf8.parse(key);  
var rawData = CryptoJS.AES.decrypt(data, decryptKey, { mode:

CryptoJS.mode.ECB, padding: CryptoJS.pad.Pkcs7  
}).toString(CryptoJS.enc.Utf8)  
return rawData;  
}catch(e){  
sails.log  
(e)  
}  
}

---

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [July 23, 2024, 12:22pm UTC](https://forum.bubble.io/t/looking-for-aes-256-ecb-decrypt-plugin/332166/2 "2024-07-23T12:22:30Z")

</div>

Hi! If you already have the JS, you can use the Toolbox plugin in Bubble to run JS in your workflow

---

<div class="post-metadata">

**Author:** ![titie61124](https://avatars.discourse-cdn.com/v4/letter/t/9de0a6/32.png) [@titie61124](https://forum.bubble.io/u/titie61124)\
**Post date:** [July 23, 2024, 12:41pm UTC](https://forum.bubble.io/t/looking-for-aes-256-ecb-decrypt-plugin/332166/3 "2024-07-23T12:41:31Z")

</div>

![Screen Shot 2024-07-23 at 7.34.16 PM](https://us1.discourse-cdn.com/bubble/original/3X/9/6/9640b04537aa5776d73c18025dcad29d3e135ee9.png)  
 ![Screen Shot 2024-07-23 at 7.34.50 PM](https://us1.discourse-cdn.com/bubble/original/3X/f/8/f86856b59958d22beed2a36ac02e24ae504cef74.jpeg)  
It doesn’t work, so. Could you please help me check with that.  
I am making payment integration. After i made the payment, i get the encrypted response from the bank. Response data is saved in the database and decrypt by running javascript.  
Actually, it would be better if i could use a plugin or API as the response can directly decrypt in backend API workflow. I would appreciate for any help.

---

<div class="post-metadata">

**Author:** ![Zeroic](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/zeroic/32/246980_2.png) [@Zeroic](https://forum.bubble.io/u/Zeroic)\
**Post date:** [July 23, 2024, 12:47pm UTC](https://forum.bubble.io/t/looking-for-aes-256-ecb-decrypt-plugin/332166/4 "2024-07-23T12:47:28Z")

</div>

The setup seems fine. DMing you
