I'm trying to change High authentication level password (using C# .NET Gurux library), there's a specific method for this in class GXDLMSAssociationLogicalName:
According to DLMS/COSEM documentation, before sending to meter - new password (i.e. Secret property) must be encrypted with AES-128 algorithm with current password as an encryption key.
My question is: should I implement my own encryption method for this ? Or is there any built-in option in Gurux library ?
Hi,
Hi,
The password may be encrypted, but it's not required. For this reason, it's sent as plain text.
You can cipher the content with KEK like this:
GXDLMSSecureClient.Encrypt(byte[] kek, byte[] password)
BR,
Mikko