Skip to content

Instantly share code, notes, and snippets.

@hukl
Created June 21, 2011 19:08
Show Gist options
  • Save hukl/1038611 to your computer and use it in GitHub Desktop.
Save hukl/1038611 to your computer and use it in GitHub Desktop.
Manual Base64 Padding
payload << "=" until ( payload.length % 4 == 0 )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment