473,503 Members | 12,103 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Base64String

How does one represent values in base-64 strings? Actually, the
question is, what is the process of converting numerals from other
bases to base 64 -- without using any library functions in any
programming environment like .NET's Convert.ToString(byte[], int base)
or Convert.ToBase64String? How does one do it on paper?

Going by the name, and the sparse documentation, I guess it is a system
of representing numeral values where the logarithmic base is the number
64.

I pondered, like the binary system is base 2, it has two value
representations -- 0 and 1. The decimal, base 10, has 10 value
representations - 0 to 9. These we know of as digits of that system. In
the base 64 system, the value representations, or digits, would then be
0 to 63. Wait a minute! But anything 10 or upward is already two
digits. OK, that is so because I am representing them in base 10. So,
the question is: what is that sample set of tokens which form the
digits of base 64?

Aug 29 '06 #1
3 3242
"Sathyaish" wrote:
How does one represent values in base-64 strings? Actually, the
....
the question is: what is that sample set of tokens which form the
digits of base 64?
You want to read:
http://en.wikipedia.org/wiki/Base64

best regards,
doc

Aug 29 '06 #2
doc, the link seems invalid.

chanmm

"docschnipp" <do********@newsgroup.nospamwrote in message
news:50**********************************@microsof t.com...
"Sathyaish" wrote:
>How does one represent values in base-64 strings? Actually, the
....
the question is: what is that sample set of tokens which form the
digits of base 64?

You want to read:
http://en.wikipedia.org/wiki/Base64

best regards,
doc

Aug 29 '06 #3
"chanmm" wrote:
doc, the link seems invalid.
Works perfect here. Go to Wikipedia or Google and just search for "base64".

best regards
doc

Aug 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3611
by: Mickel Grönroos | last post by:
Hi everybody, To the heart of the matter: Which of the available Soap modules is best fitted for client side soap messaging? I have an upload service (written in Perl) that I want to use from a...
7
9262
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
5
5572
by: David Lownds | last post by:
Dear All, I need to do the following to an xml file in vb.net. - Read in the file - canonicalise (c14n) the XML document - generate a 160-bit binary secure hash from the canonicalise XML ...
1
2425
by: Ipsita | last post by:
Hi! I am trying SOAP with DIME attachments in web services. The web service sends the file as attachment say "test.doc", and the client has to read that and populate it in a textbox control. I...
0
1293
by: Graham | last post by:
I'm working with the salesforce.com sforce API, and I'm trying to attach files. Steps are: 1. Use WebRequest to get a file from a certain url (e.g. www.myserver.com/file.doc) 2. Convert...
4
6033
by: ladislav.k | last post by:
Hallo, I have written web service with method: public long DoSomething(string base64String) { try { return doit(); } catch { return -1;
6
4582
by: ad | last post by:
I wnat to load a file in an .resx file and transfer the file to a stream. How can I do?
3
2641
by: tom.krier | last post by:
Here's the thing. I am downloading a tiff image through an http stream, then I am converting it to a byte array, then I convert it to a string which I place in an XML file. When I place the...
2
2004
by: Abhi | last post by:
How to check if provided string is Base64String.
0
7212
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7364
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1524
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
405
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.