Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wmiaw
Copy link
Contributor

@wmiaw wmiaw commented Jun 22, 2016

Create secure/strict Base64 implementation that rejects invalid Base64 encodings without using a regex, and also without failing early. This implementation encodes about 2.5% faster and decodes about 90% faster than Base64Jaxb.

@wmiaw wmiaw self-assigned this Jun 22, 2016
…4 encodings without using a regex, and also without failing early. This implementation encodes about 2.5% faster and decodes about 90% faster than Base64Jaxb.
"AAAAA",
"AAAAAAA",
"%$#@=",
"ZZZZZZZZZZ="
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a '==' case, e.g. "ZZZZZZZZZ==" ?

@wmiaw wmiaw merged commit 6b5e544 into master Jun 23, 2016
@wmiaw wmiaw deleted the base64-secure branch June 23, 2016 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants