You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either your implementation of base64 encoding needs comprehensive testing, or (better) just use an existing library where this is properly implemented and tested.
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.
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
The text was updated successfully, but these errors were encountered: