Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base64 encoding not tested #1

Open
ari opened this issue Mar 18, 2013 · 1 comment
Open

Base64 encoding not tested #1

ari opened this issue Mar 18, 2013 · 1 comment

Comments

@ari
Copy link
Collaborator

ari commented Mar 18, 2013

Either your implementation of base64 encoding needs comprehensive testing, or (better) just use an existing library where this is properly implemented and tested.

http://commons.apache.org/proper/commons-codec//apidocs/org/apache/commons/codec/binary/Base64.html

@3awsomies
Copy link
Contributor

MYSQL recognize HEX encoded data while inserting as it can add "0x" to be recognized as HEX encoded data. So we are using this HEXUTILS to generate encoded data. Added a JUNIT TEST if it is working fine. Also since MYSQLDUMP can be taken using --hex-blob option so we find it more reliable to use than base64 encoding to be properly understandable via MYSQL.

daczo added a commit that referenced this issue Apr 15, 2013
pulling changes into my fork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants