Encode/decode with AES algorithm

Does anyone have exprience with encoding / decoding data with AES algorithm?
I am looking for a sample code.

Thanks for informations.

Lothar

Hi,

I haven’t ported AES until now, but here’s a C based reference implementation that should be easy to port to the PLC (I used other algorithms from that page in the PLC):

Best regards!

1 Like

Thanks for the immediate reply. I’ll try it.

1 Like

Hi again,

I just saw that the AES basic implementation of the link above does not support AES GCM mode, and uses malloc which makes it maybe a bit harder to port it to AR.

So maybe this one is worth a look when needing AES GCM (I just had a quick look into the code, so I can’t promise but it also looks promising in direction of porting it to AR):

Best regards!

1 Like

HI @Lothar_Waibel , would be great if you provide us feedback how did you finally solved your issue. Thanks a lot.