# De-Crypt messages using GXDLMS?

**URL:** <https://discourse.nodered.org/t/de-crypt-messages-using-gxdlms/64592>\
**Category:** General\
**Tags:** function-node\
**Created:** [1 July 2022 17:58 UTC](https://discourse.nodered.org/t/de-crypt-messages-using-gxdlms/64592 "2022-07-01T17:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gawan](https://avatars.discourse-cdn.com/v4/letter/g/e9c0ed/32.png) [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Post date:** [1 July 2022 17:58 UTC](https://discourse.nodered.org/t/de-crypt-messages-using-gxdlms/64592/1 "2022-07-01T17:58:09Z")

</div>

Hi Guys,  
I would like to decrypt and read the serial stream coming from my power measuring device "Kaifa MA309".  
I have connected a MBUS-USB Adapter to read the serial stream but unfortunately it is crypted with a static code. I got the code from my power supplying company but unfortunately it is using GXDLMS and I have no idea how to decrypt this in Node-Red.  
Is there a library ? Is there a simple XOR I have to apply on the stream or how is this done ?  
The Key is simply a HEX-String like this: 36C66639E4867B328A32234B282A793BBB

Can someone give me a hint where to start ?

BR  
G

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 August 2022 17:58 UTC](https://discourse.nodered.org/t/de-crypt-messages-using-gxdlms/64592/2 "2022-08-30T17:58:39Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
