Solved

Base64 - Maximum length

Posted on 2009-05-20
3
903 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 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ASP.NET e-commerce website 4 30
Save sql query result in sql server 15 25
dynamic menu in asp.net c# 11 30
Asp.net mvc 5 5 20
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now