Quantcast
Viewing all articles
Browse latest Browse all 174

What are Base64 strings?

I have a column in an SQL-Server table, containing information like the following:

Data
0x0056794433020000632700C90079058303F2000102EA40C0000000150001000100020001001500010001000136BB00000000000001F50000000100010001000100003135343131313838323230393239393638340000
0x0056C944370200007827007200C9058303F2000102EA40BD0000000E003E000200020001000E00010001000136C5020036B1000001F50000000100010001000100003339303038373030333533323331343536310000
0x0056C9443102000078AF007100C9058303F2000102EA40BB0000000D0033000500020002000D00010001000136C5020036B1000001F50000000100010001000100003339303038373030333533323338323937330000

This information is written as follows (VB.Net code):

Dim oPar5 As New SqlParameter("@Data", Convert.ToBase64String(data))

I'm trying to decode this, but I feel I'm being thrown around because of my lack of knowledge on the subject (ChatGpt, e.g., is constantly dragging XML into this, while this has nothing to do with it).

So I decided to start with the basics: what are Base64 strings? Only when this is clear, I might start trying to convert this into Byte arrays (as a test, the fourth byte should always be "D", "K" or "Q", other values are not possible).

Can anybody give me a start?


Viewing all articles
Browse latest Browse all 174

Trending Articles