Convert


This is for all you rookies that don't know how to convert between various bases


Conversion between Hexadecimal and Decimal.

	HEX to DEC

	A5B2 to decimal

	A = 10			10
	multiply by 16	      x 16
			      ----
			       160			
	Add next digit 5      +  5
			      ----
			       165		
	Multiply by 16        x 16
			      ----
			      2640
	Add next digit B      + 11
			      ----
			      2651
	Multiply by 16        x 16
			      ----
			     42416	 
	Add next 2	     +   2
			     -----
	Bingo!		     42418


DEC to HEX 42418 to HEX Divide by 16 42418 / 16 = 2651 remainder 2 Hope you can do your Divide by 16 2651 / 16 = 165 remainder B (11) long division. Divide by 16 165 / 16 = 10 remainder 5 Divide by 16 10 / 16 = 0 remainder A (10) | Answer-------------------------------------------| A5B2
ASCII CHARACTER SET



Copy and paste this for reference it is very usefull when cracking.


Check out the Javascript code