Recent Posts
Calendar
March 2013
S M T W T F S
« Feb   Apr »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Archive for March 19th, 2013

Base-64 as URL Parameter

other-096 Yesterday, I was working on an application that passes encrypted data as a URLEncoded parameter on to another page.

The problem we were having with this code was that the code would occasionally give us the error, “Invalid Length for a Base-64 char array” when the code was converting the parameter back to a byte array so that it could decrypt it.

What was even more puzzling is that the exact same code run from two different computers would produce two different results.  So it wasn’t exactly data-specific.

Read the rest of this entry »