Conversion of Base64 Encoded REG_DWORD to ordinary string
How can i convert a Base64 encoded DWORD to a normal string using java.
Actually REG_DWORD and REG_BINARY is the value obtained as value for a particular registry entry.So i have to decode it and display the actual result.
I have used the following code but was not successful
String strkey= new String(new BASE64Decoder().decodeBuffer(strencode));
OR
String strkey= new String(Base64.decodeBase64(strencode));
OR
String strkey1="0x"+new String(Hex.encodeHex(Base64.decodeBase64(strencode )));
Can anyone help me in this matter
Help will be very much grateful
Thanks
With regards
Manoj
|