Base64 « hexadecimal « Java Data Type Q&A





1. how to convert hex to base64    stackoverflow.com

how to convert hex string into base64 ? I found this page http://home2.paulschou.net/tools/xlate/ but I need some function in java: String base64 = ...decoder(String hex); I found something in ...

2. Hex binary to Base64 and vice versa    coderanch.com

Hi All, I am currently working on a project that requires conversion of Hex binary fingerprint to a Base64 encoded fingerprint and vice vesra. e.g. Hex binary format: c88266d6581aab3e357342ae7c9c4c87a08a4a0f Base 64 encoded: yIJm1lgaqz41c0KufJxMh6CKSg8= Can anyone please help me with the code/ logic that would help me achieve my requirement? Thanks in advance, Anup