Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What would be a good split character for splitting concatenated base64 strings?

I have a number of base64 strings that I need to concatenate to send over HTTP.

Is there a good character to use to split the strings (I'm guessing a character that is invalid inside a base64 string).

-thanks for the help

like image 955
Alex KeySmith Avatar asked Mar 30 '11 10:03

Alex KeySmith


1 Answers

Since base64 only contains characters, digits and + and /, anything else should do - how about a space, a comma (',') or a pipe symbol ('|') ?

like image 185
Frank Schmitt Avatar answered Oct 01 '22 18:10

Frank Schmitt