Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Base64 - Maximum length

Posted on 2009-05-20
3
Medium Priority
?
939 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

688 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