public static byte[] decodeBase64(String base64Str){
  return DatatypeConverter.parseBase64Binary(base64Str);
}

public static byte [ ] decodeBase64 ( String base64Str ) { return DatatypeConverter . parseBase64Binary ( base64Str ) ; }
decodes a base 64 encoded string into byte array .
