473,569 Members | 2,573 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.ToStrin g(byte[], int base)
or Convert.ToBase6 4String? 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 3245
"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********@new sgroup.nospamwr ote in message
news:50******** *************** ***********@mic rosoft.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
3614
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 Python application. What I want to do is send base64 encoded files via Soap to this upload service which is on a SSL encrypted server. I cannot...
7
9271
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. # No warranty express or implied for the accuracy, fitness to purpose
5
5576
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 using the SHA-1 algorithm
1
2435
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 had asked this question earlier, and got the reply that the data is tranferred in binary format on the wire. I read the stream, and convert it to...
0
1298
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 the response stream from stream to Base64String. Step 2 isn't working for me. Using WinHttp, I could just convert the Reponse from bytes to...
4
6042
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
4595
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
2650
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 string in the xml file it is super long (slows down all editors when opening), so I was thinking to insert vbCrLf every 80 characters or so but I don't...
2
2006
by: Abhi | last post by:
How to check if provided string is Base64String.
0
7700
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7974
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.