如何在VB中解密Base64编码的XML文本? [英] How do I decrypt Base64 encoded XML text in VB?

查看:70
本文介绍了如何在VB中解密Base64编码的XML文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我有这段xml数据,我希望从似乎是base64编码的地方解密它.

I have this piece of xml data, and I wish to decrypt it from what seems to be base64 encoding.

<MemoryVariableLogEntryItem>         

< VariableID> wped_w</VariableID>         

<VariableID>wped_w</VariableID>         

< RawData> ED8 =</RawData>        

<RawData>ED8=</RawData>       

</MemoryVariableLogEntryItem>

</MemoryVariableLogEntryItem>

这是一个突出显示的节点,称为RawData,即数据.

It is the highlighted node called RawData, which is the data.

我的问题是,我可以某种方式解密此数据吗?并且可以通过节点列表来完成(因为我已经设置了一个节点列表功能来选择所有包含此数据的节点)-是的,我的XML文档中有数百个RawData节点.我想解密 他们全部.

My question is, can i decrypt this data in some way? and it is possible to do via nodelist (as I have setup a nodelist function to select all the nodes containing this data) - and yes, there are hundreds of RawData nodes in my XML document. I want to decrypt them all.

我的节点列表函数如下:

My nodelist function looks like this:

Dim nodeList7 As XmlNodeList
            nodeList7 = root.SelectNodes("/LogFile/LogEntries/MultiVariableLogEntry/EntryItems/RawData")
            Dim RawData As XmlNode
            For Each RawData In nodeList7
                'insert here?

            Next

root在此块上方定义.

root is defined above this block.

预先感谢

推荐答案

您是否尝试过使用带有字符串的Base 64在线解码器查看它是否实际上是Base 64?如果不是这样,那将是浪费时间为您提供帮助,因为您真的不知道它是否是基于Base 64编码的数据.
Did you try an online Base 64 decoder with your string to see if it is in fact Base 64? If not then it would be a waste of time to assist you since you really have no idea if it is Base 64 encoded data.


这篇关于如何在VB中解密Base64编码的XML文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆