public EncryptedMessage(NodeDssMessage msg, byte[] Key, byte[] IV)
            {
                var jsonMessage = JsonUtility.ToJson(msg);

                Cipher = System.Convert.ToBase64String(AES.EncryptStringToBytes_Aes(jsonMessage, Key, IV));
                Hmac   = System.Convert.ToBase64String(HMAC.Sign(Key, jsonMessage));
            }