Code example for BigInteger

Methods: toString

0
		try { 
			md = MessageDigest.getInstance("MD5");
		} catch (NoSuchAlgorithmException e) {
			e.printStackTrace();
		} 
		BigInteger hash = new BigInteger(1, md.digest(senha.getBytes()));
		sen = hash.toString(16);
		return sen;
	} 
 
	public String getCountry(String mobile, String mobileLat, String mobileLng, FiltroForm filtroForm) {
		if (mobile == null) {
			return filtroForm.getPais();
		} else { 
			URL googleAPI;
			String country = "BR";
			try { 
				googleAPI = new URL(
						"http://maps.googleapis.com/maps/api/geocode/json?latlng="+mobileLat+","+mobileLng+"&sensor=false");
 
				URLConnection yc = googleAPI.openConnection();