Sunday, June 10, 2012

Base64: "=" Signs At The End

Base64 strings come in blocks of 4 (i.e. 3 bytes encoded into a 4 byte string) so any incomplete blocks (e.g. due to 1 byte remaining at the source) will have to be padded. The "=" serves as the padding.

No comments:

Post a Comment