Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Base64 - Maximum length

Posted on 2009-05-20
3
Medium Priority
?
943 Views
Last Modified: 2012-05-07
What is the maximum character size of Base64?


(I have specified in a document that the maximum length that will be returned in base64 value is 2047 but i don't remember how or why this number was specified.)
0
Comment
Question by:robertkc
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 24429287
Base64 is about encoding ...
and has, apart from the "line length", no such limitation..
http://en.wikipedia.org/wiki/Base64

so I don't see where you would have come up with the 2074 size?
0
 

Author Comment

by:robertkc
ID: 24431301
from the document "An auth token is up 2047 characters/bytes in length and is a BASE64 encoded, when stored in the database"

So that would mean the token is 2047 max in length, not the base64 resulted value.

Still does not make sense as to how or why the max token length is 2047!
0
 

Author Closing Comment

by:robertkc
ID: 31583393
I have to close this question, and assign the points to you, as I don't there is an actual answer.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question