Base64 is an encoding scheme (with some variations in the presentation) that represents binary data in an ASCII string format.

learn more… | top users | synonyms

6
votes
1answer
111 views

PHP Base64 ByteArray Decoder

I have a third party system that submits what I am assuming is a byte array data from OBDII port on our fleet vehicles. I was getting values like: AA== (bool) ...
5
votes
1answer
115 views

Encoding a string into base64

I'm trying to create a simple HTTP client. In order to make one that is standard compliant, I must be able to extract user information from a URI and convert it to base64 and send it via an ...
2
votes
0answers
187 views

Get local Dropbox path with Delphi XE7

I've put together a function in Delphi XE7 which returns the Dropbox directory path on my machine, as this path can be customized by the user. This function currently works on my computer, but it ...
2
votes
1answer
185 views

Generating HMAC

I had been working on several projects that required Header Message Authentication Codes to be generated when brokering files with 3rd parties like Netflix. Unfortunately on older systems like ...
3
votes
1answer
92 views

Convert int64 to custom base64 number string

I want to convert int64 to custom base 64 number string, with this specification: ...
5
votes
2answers
119 views

toBase64 encoder

My code convert text to Base64. I used the algorithm without bit operations. What do you think about my code? ...
1
vote
1answer
135 views

Base64 encoder optimization

Base64 is a widely used encoding mechanism to allow arbitrary binary content to be transferred as printable text. This program is designed to take binary file as input and produce a Base64-encoded ...
5
votes
2answers
301 views

Proper usage of “using” statement in base64 encode method

I used the example on here, but with little changes in order to write a base64 encoder method. I have a few points about the code: I would like to use using ...
0
votes
1answer
536 views

Decrease file size of encrypted file

I am making a Cryptography application and I noticed that the encrypted file is approximately 2 times bigger because I am encoding the files in base64. Are there any file encodings that take less ...
6
votes
2answers
3k views

Checking MIME Type from a base64 string

I've written the following extension to determine the MIME type of a base64 string. It's worked in my local tests, but can anyone point out issues or alternate methods? ...
4
votes
2answers
620 views

Speed optimisation and general tips for base64 encoding/decoding functions in C

So far, the below code appears to work well. It operates pretty fast, but I was wondering if it's possible to make it faster. I'm also looking for general tips on what I might be doing wrong and what ...
1
vote
0answers
484 views

Performance Tuning Base64 encoding

I've been trying to get a relatively optimized version of base64 encoding that works against files. However, I've made several attempts and haven't gotten anything much faster than what I have here. ...
6
votes
1answer
548 views

Base64 encoder/decoder optimizations

I've written a Base64 encoder/decoder, which works great. Now I want to see if I can get it working better. I've optimized as much as I can think of, but it may be missing some things. The encoder can ...
1
vote
1answer
242 views

Perl CGI script to respond to erroneous Base64 image requests

I often get lines like this in my Apache error log: File does not exist: /path/to/www/data:image/gif;base64,R0lGODlhBgAGAIAOAP/yH5BAEACAEALAAAAAAGGAYAAAIJhB0Xi5vOoFwFADs= Obviously, this is due ...