public static String base64ToHex ( String base64Value ) throws IllegalArgumentException { byte [ ] binary = base64ToBinary ( base64Value ) ; return DatatypeConverter . printHexBinary ( binary ) ; }
Decode the given Base64 - encoded String to binary and then return as a string of hex digits .