Solved

Base64 - Maximum length

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 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