# How to possible aes128 encrypt and decrypt?

**URL:** <https://discourse.nodered.org/t/how-to-possible-aes128-encrypt-and-decrypt/687>\
**Category:** General\
**Created:** [8 June 2018 05:36 UTC](https://discourse.nodered.org/t/how-to-possible-aes128-encrypt-and-decrypt/687 "2018-06-08T05:36:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![variyaSandip](https://avatars.discourse-cdn.com/v4/letter/v/ec9cab/32.png) [@variyaSandip](https://discourse.nodered.org/u/variyaSandip)\
**Post date:** [8 June 2018 05:36 UTC](https://discourse.nodered.org/t/how-to-possible-aes128-encrypt-and-decrypt/687/1 "2018-06-08T05:36:15Z")

</div>

Hello..

How to possible to 128-aes ecb encrypt and decrypt data in node-red ?

I have use node-red-contrib-crypto-js but not matching my c language 128-aes encrypt and decrypt data .

I attached below screen

 ![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/a508e7f6d6a43b914e1f0025decbc48f5b9c2a74.PNG) ![2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/88155785f3acb57a758dfc6c0218b3e5e3b0c246.PNG) ![3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/5acba015a14f03ec0102d0a6aa6c4f6525fdbeaa.PNG)

i was create other node js project it is working fine with 128-aes encrypt and decrypt , that used to create the custom node ?

could you please help me for that
