<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>String Function Blog &#187; Conversion</title>
	<atom:link href="http://www.stringfunction.com/blog/tag/conversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stringfunction.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 11 Oct 2010 13:25:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MD5 Hashing Algorithms for Encoding and Decoding Data</title>
		<link>http://www.stringfunction.com/blog/md5-hashing-algorithms-encoding-decoding/</link>
		<comments>http://www.stringfunction.com/blog/md5-hashing-algorithms-encoding-decoding/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 09:43:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Conversion]]></category>
		<category><![CDATA[Hash]]></category>
		<category><![CDATA[Hex]]></category>
		<category><![CDATA[Hexadecimal]]></category>
		<category><![CDATA[Md5]]></category>
		<category><![CDATA[MD5 algorithm]]></category>
		<category><![CDATA[Md5 Decryption]]></category>
		<category><![CDATA[Md5 Encryption]]></category>
		<category><![CDATA[String Function]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=141</guid>
		<description><![CDATA[MD5 is one of a number of solutions to providing security to static data elements. It is simply defined as a fixed-length 128-bit hexadecimal string derived as a function of the hash-generating program that is a representation of a plain-text string. Any computer language with string function manipulation can be used as an MD5 encoder [...]]]></description>
			<content:encoded><![CDATA[<p>MD5 is one of a number of solutions to providing security to static data elements. It is simply defined as a fixed-length 128-bit hexadecimal string derived as a function of the hash-generating program that is a representation of a plain-text string. Any computer language with string function manipulation can be used as an <strong>MD5 encoder</strong> or <strong>MD5 converter</strong>, albeit some are more efficient than others in the implementation. It is most often seen as a callable MD5 function.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><span id="more-141"></span></p>
<p>Both hexadecimal and Base64 functions are used routinely to encode and decode – often called <strong>MD5 encryption</strong> and <strong>MD5 decryption</strong> – the content of the Message Digest (MD). MD5 was the fifth iteration of the concept, hence the suffix number. It replaced MD4 which was shown to have some functional vulnerabilities and MD5 algorithm was subsequently replaced with the SHA-series of hashing algorithms for similar reasons. Try our <a href="http://www.stringfunction.com/sha1-hash.html">sha1 converter</a>.</p>
<p><strong>Decoding an MD5 hash</strong> without knowing the original value of the encoded string is not totally accurate, there are some values that may have a higher degree of certainty because they may form recognizable elements, such as existing words, using a dictionary approach to look-up the hash and compare with known-existing values. Some <strong>MD5 reverse look-up databases</strong> contain millions of hashes and their corresponding decoded values. This is generally considered the easiest method as it can be executed in mere fractions of a second. A second method uses a more brute-force approach by using tables – commonly known as “rainbow tables” – to analyze the encoded MD5 elements. Neither approach has 100% certainty of successful decoding, however, the possibility that it might has caused MD5 to be identified as technically insecure by <strong>National Security Agency</strong> (NSA) standards.</p>
<p>The MD5 reverse lookup database I use is located here: <a href="http://md5-decrypter.com/">http://md5-decrypter.com/</a></p>
<p><strong>The primary uses of the MD5 hash</strong> are for data integrity checks and generating <strong>MD5 checksums</strong> to ensure that data, such as a program or passwords, have the same content as the original. MD5 secure applications were stress-tested and found to have flaws known as “collisions,” where identical hash contents can be generated which do not have the original content. Several methodologies were employed in the attempt to salvage security, including the introduction of a “seed” – known as an <strong>MD5 salt</strong> – or multiple-pass encryption. Neither method provides sufficient protection from the feasibility of discovery.</p>
<p><strong>To calculate an MD5 hash</strong> is a relatively simple process. There are a number of algorithms for various computer languages and scripts available online, either as source or an online MD5 hash calculator. Tools exist to calculate feasible content from an MD5 string or to generate an MD5 hash from a plain-text string. Most use the correct padding characters appended to a string, however, there are some scripts that may require some tweaking to be fully-compliant with accepted standards.</p>
<p>One of the more elegant examples of well-documented code in javascript: <a href="http://pajhome.org.uk/crypt/md5/md5.html">JavaScript implementation of the RSA Data Security</a></p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>This is an example of an MD5 construct:<br />
Plain-text data: This is a test<br />
MD5 encrypted representation: ce114e4501d2f4e2dcea3e17b546f339<br />
Try encoding this with our <a href="http://www.stringfunction.com/md5-hash.html">online md5 encoder</a></p>
<p>Unless this specific MD5 representation exists in an MD5 database, it is nearly impossible to derive with certainty the original plain-text data. For example, one of the most popular and insecure passwords is “secret”. The MD5 representation of “secret” is:</p>
<p>5ebe2294ecd0e0f08eab7690d2a6ee69</p>
<p>Using a commonly available MD5 reverse look-up database, it is easy to find this particular password. This is one of the more compelling reasons to have strong passwords with mixed case and embedded numeric or symbols unlikely to be guessed by a casual search.</p>
<p>MD5 is still in use today by many commercial businesses, however, it is with the full knowledge that it is not completely secure and there are better alternatives available. MD5 has been deprecated for US Government use and replaced by the NSA-approved SHA2 algorithms for protection of sensitive unclassified information – for example, documents with Social Security Numbers present. However, even SHA2 can be cracked and the next iteration SHA3 is currently under development.</p>
<p><img class="alignright" title="Md5 Hash Encryption Security" src="http://www.stringfunction.com/img/md5-hash-encryption-security.jpg" alt="" width="180" height="239" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/md5-hashing-algorithms-encoding-decoding/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is Binary, Octal and Decimal?</title>
		<link>http://www.stringfunction.com/blog/what-is-binary-octal-decimal/</link>
		<comments>http://www.stringfunction.com/blog/what-is-binary-octal-decimal/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 11:02:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Octal, Binary and Decimal]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Binary to Decimal]]></category>
		<category><![CDATA[Conversion]]></category>
		<category><![CDATA[Decimal]]></category>
		<category><![CDATA[Decimal to Binary]]></category>
		<category><![CDATA[Hexadecimal]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=134</guid>
		<description><![CDATA[The concept of binary systems is based on the existence of two clearly defined and opposite states. Examples of binary states include: TRUE or FALSE; ON or OFF; and OPEN or CLOSED. In number systems, the values zero or one (0 or 1) are used for differentiating logic conditions and performing numeric functions.






Binary values are [...]]]></description>
			<content:encoded><![CDATA[<p>The concept of <strong>binary</strong> systems is based on the existence of two clearly defined and opposite states. Examples of binary states include: TRUE or FALSE; ON or OFF; and OPEN or CLOSED.<span id="more-134"></span> In number systems, the values zero or one (0 or 1) are used for differentiating logic conditions and performing numeric functions.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><strong>Binary values</strong> are essential for the operation of computer-based systems. Reduced to its minimum functions, a computer can do only two things: add numbers and compare values – albeit very quickly. Every other computer function can be reduced to one of these two operations. In the case of arithmetic calculations, all computations are a function of addition. Subtraction is addition of negative numbers, multiplication is simply multiple addition operations, as division is multiple negative addition operations.<br />
<br />
With one switch, two values can be represented: either zero or one. With two switches, 4 values can be represented: 00, 01, 10 and 11. With three switches, eight values are possible: 000, 001, 010, 011, 100, 101, 110, and 111. Because of the two value nature, this is referred to mathematically as “Base 2.”<br />
<br />
<strong>Octal</strong> – or Base 8 – is the specific case of three switches – the numbers 0 through 7 are the single digit representation of the value. Without going into detail, four switches would be used to represent a single digit <strong>hexadecimal</strong> – or Base 16 – value. <strong>Decimal</strong> numbers – Base 10 – are not conveniently possible to represent without a <strong>conversion</strong> from either binary, octal or hexadecimal numeric value to an easily-grasped human number. These conversions are typically integral to every computer language by use of string operations. Since computing is a two-way process involving input and output, there are binary to decimal functions as well as decimal to binary functions.<br />
<a href="http://www.stringfunction.com/blog/convert-binary-and-decimal-values/">Learn how to convert binary and decimal values</a><br />
<br />
Working with long strings of ones and zeroes is a tedious process, thus the use of octal and hexadecimal symbols allow values to be more readily perceived by humans. The existence of decimal numerals is solely for the comfort of humans; they are a time- and resource-consuming inconvenience for a machine. Low-level microcode and assembly languages are generically referred to as machine code because they communicate directly with the computer without unnecessary conversion to a decimal number.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><a href="http://www.stringfunction.com/decimal-binary.html">Decimal to binary conversion tools</a> are readily available. The Microsoft operating systems – as well as virtually every other graphical user interface – have a calculator as part of the O/S package. In the case of MS Windows, the calculator has two views. One is a common function decimal calculator, the other is a more sophisticated scientific view. The second option has the ability to <strong>convert decimal</strong> to either binary, octal or hexadecimal and to perform any number of common calculations and functions in any of those formats. Handheld calculators designed for use by the engineering sciences routinely include these functions as well.<br />
<br />
<a href="http://www.stringfunction.com/">On-line tools</a> for similar or more complex conversion of <a href="http://www.stringfunction.com/binary-decimal.html">binary to decimal</a> and <a href="http://www.stringfunction.com/decimal-binary.html">decimal to binary</a> conversion are readily available. Usually, these tools are for the more complex computer-oriented functions such as converting a numeric value to a code – such as ASCII letters and symbols – and back. Binary numbers – in hexadecimal format – are commonly used to represent levels of red, green and blue (RGB) colors.<br />
<br />
Converting binary to decimal – commonly seen as “bin to dec” and “dec to bin” is neither difficult nor complicated once the concepts are understood.<br />
<a href="http://www.stringfunction.com/blog/convert-binary-and-decimal-values/">Learn binary and decimal conversions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/what-is-binary-octal-decimal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert Binary and Decimal Values</title>
		<link>http://www.stringfunction.com/blog/convert-binary-and-decimal-values/</link>
		<comments>http://www.stringfunction.com/blog/convert-binary-and-decimal-values/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 10:03:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Conversion]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Binary to Decimal]]></category>
		<category><![CDATA[Decimal]]></category>
		<category><![CDATA[Decimal to Binary]]></category>
		<category><![CDATA[Division by 2]]></category>
		<category><![CDATA[Manipulate String]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[String Function]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=117</guid>
		<description><![CDATA[Decimal to Binary conversion is accomplished easily by determining whether the decimal number is odd or even, then successive division by 2, recording the result in binary form.







Convert Decimal to Binary
Try our Decimal to Binary Converter
As an example, the decimal number 153 is odd.

 The rightmost binary digit – known as the Least Significant Digit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stringfunction.com/decimal-binary.html">Decimal to Binary conversion</a> is accomplished easily by determining whether the <strong>decimal</strong> number is odd or even, then successive <strong>division by 2</strong>, recording the result in <strong>binary</strong> form.<br />
<span id="more-117"></span></p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h3><strong>Convert Decimal to Binary</strong></h3>
<p>Try our <a href="http://www.stringfunction.com/decimal-binary.html">Decimal to Binary Converter</a><br />
As an example, the decimal number 153 is odd.</p>
<ul class="noindent">
<li> The rightmost binary digit – known as the Least Significant Digit or LSD – would be a “1”. If the number had been even, as 152, the LSD would be a “0”. As we record &#8220;1&#8243; for the LSD, we now have to divide 152 (153-1)</li>
<li>Divide the remainder (152) by 2. If the result is even, record a “0” to the left of the LSD. It is in this example, leaving 76, and the binary string is now “01”.</li>
<li>76 is evenly divided by 2, leaving 38, so record a “0”, the resulting binary string now being “001”.</li>
<li>Divide again, resulting in an odd number, 19. Record a 1, subtract the 1 from 19 and result is now “1001.”</li>
<li>Divide 18 by 2, resulting in 9. Again, it&#8217;s odd, record a 1, subtract the 1 from 9, leaving 8, the binary string is now “11001”.</li>
<li>The number 8 is evenly divisible, record a 0, resulting string is now “011001&#8243;</li>
<li>Divide 4 by 2, leaving 2, which is also even. Resulting string is now “0011001”.</li>
<li>Divide the 2 by 2, resulting in 1. Record this as the last and Most Significant Digit. <strong>The final result is the binary string “10011001”</strong> which is the <strong>representation of the decimal number 153</strong>.</li>
</ul>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h3><strong>Convert Binary to Decimal</strong></h3>
<p>Try our <a href="http://www.stringfunction.com/binary-decimal.html">Binary to Decimal converter</a><br />
Conversion of binary to decimal values is equally simple.</p>
<ul class="noindent">
<li>Start at the least significant (rightmost) digit 10011001 is odd, record a 1.</li>
<li>The next leftmost bit is the number of 2s, which is none.</li>
<li>The next is the number of 4s. Again, none.</li>
<li>The next leftmost is the number of 8s. There is one, so record an 8.</li>
<li>The next left bit is also a 1, which the number 16s. We now have recorded 1+8+16 so far.</li>
<li>The next bit is the number of 32s, none.</li>
<li>The next is the number of 64s, again none.</li>
<li>The last, most significant digit is the number of 128s. We have 1, record that.</li>
<li>Now add the decimal numbers together 1+8+16+128, <strong>resulting in the decimal number 153</strong>.</li>
</ul>
<p>These methods are just two of several ways to accomplish the conversion. There are tables and charts which can assist in <a href="http://www.stringfunction.com/binary-decimal.html">binary to decimal conversion online</a>, as well as the opposite <a href="http://www.stringfunction.com/decimal-binary.html">decimal to binary conversion</a>. The two methods given above have the advantage of being easily done in your head without a tool, since the processes are simple addition and easy division by twos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/convert-binary-and-decimal-values/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convert Binary and Hexadecimal</title>
		<link>http://www.stringfunction.com/blog/convert-binary-and-hexadecimal/</link>
		<comments>http://www.stringfunction.com/blog/convert-binary-and-hexadecimal/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 08:59:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Conversion]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Binary to Hexadecimal]]></category>
		<category><![CDATA[Hexadecimal]]></category>
		<category><![CDATA[Hexadecimal to Binary]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[String Function]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=111</guid>
		<description><![CDATA[Hi guys,
Sometimes, videos make it easier to understand things. Here&#8217;s a video that explains how to convert hexadecimal to binary and how to convert binary to hexadecimal.








Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>Sometimes, videos make it easier to understand things. Here&#8217;s a video that explains how to <a href="http://www.stringfunction.com/hex-binary.html">convert hexadecimal to binary</a> and how to convert <a href="http://www.stringfunction.com/binary-hex.html">binary to hexadecimal</a>.</p>
<p><span id="more-111"></span></p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ties8C6zhNg&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ties8C6zhNg&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/convert-binary-and-hexadecimal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Manually Convert an ASCII String to Hexadecimal or Binary</title>
		<link>http://www.stringfunction.com/blog/convert-ascii-string-to-hexadecimal-to-binary/</link>
		<comments>http://www.stringfunction.com/blog/convert-ascii-string-to-hexadecimal-to-binary/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 14:11:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Conversion]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[ASCII to Binary]]></category>
		<category><![CDATA[ASCII to Hexadecimal]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Binary to Hexadecimal]]></category>
		<category><![CDATA[Decimal]]></category>
		<category><![CDATA[Hexadecimal]]></category>
		<category><![CDATA[Manipulate String]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[String Function]]></category>
		<category><![CDATA[String to Hex]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=46</guid>
		<description><![CDATA[In computer programming, computers only understand a binary numbering system – based on 2s. Currently, many programmers use a hexadecimal system, which is based on units of 16. Although there are many online tools to help with conversions, an understanding of manual ASCII to binary to hexadecimal conversions is helpful.






The first step is to understand [...]]]></description>
			<content:encoded><![CDATA[<p>In <strong>computer programming</strong>, computers only understand a binary numbering system – based on 2s. Currently, many programmers use a hexadecimal system, which is based on units of 16. Although there are many <strong>online tools</strong> to help with conversions, an understanding of manual ASCII to <a href="http://www.stringfunction.com/binary-hex.html">binary to hexadecimal</a> conversions is helpful.<span id="more-46"></span></p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>The first step is to understand counting in different systems. Our usual denary system uses the digits 0 – 9. Once you reach “9” you start with 10, 11, etc back to 19. Then you move on to the 20s. Binary and hexadecimal numbering systems use the same procedure, with different digits. Binary uses only the numbers 0 and 1. Usually, these are written with four digits, so 0 in denary is 0000 in binary.</p>
<table class="table" border="0">
<thead>
<tr>
<th scope="col">Decimal</th>
<th scope="col">Binary</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>0001</td>
</tr>
<tr>
<td>2</td>
<td>0010</td>
</tr>
<tr>
<td>3</td>
<td>0011</td>
</tr>
<tr>
<td>4</td>
<td>0100</td>
</tr>
<tr>
<td>5</td>
<td>0101</td>
</tr>
<tr>
<td>6</td>
<td>0110</td>
</tr>
<tr>
<td>7</td>
<td>0111</td>
</tr>
<tr>
<td>8</td>
<td>1000</td>
</tr>
<tr>
<td>9</td>
<td>1001</td>
</tr>
<tr>
<td>10</td>
<td>1010</td>
</tr>
<tr>
<td>11</td>
<td>1011</td>
</tr>
<tr>
<td>12</td>
<td>1100</td>
</tr>
<tr>
<td>13</td>
<td>1101</td>
</tr>
<tr>
<td>14</td>
<td>1110</td>
</tr>
<tr>
<td>15</td>
<td>1111</td>
</tr>
</tbody>
</table>
<p>
The <strong>hexadecimal</strong> numbering systems uses the number 0 – 9 and A – F. They are represented by 2 numbers or letters: 00 – FF. The letter “A” is number 10, “B” is 11, and “F” is 15. Counting in hexadecimal looks like this: 00, 01, … 09, 0A, 0B, … 0F, 10, 11, … 1A, 1B, … 1F, 20, etc.</p>
<table class="table" border="0">
<thead>
<tr>
<th scope="col">Decimal</th>
<th>Hexadecimal</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>1</td>
</tr>
<tr>
<td>2</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>3</td>
</tr>
<tr>
<td>4</td>
<td>4</td>
</tr>
<tr>
<td>5</td>
<td>5</td>
</tr>
<tr>
<td>6</td>
<td>6</td>
</tr>
<tr>
<td>7</td>
<td>7</td>
</tr>
<tr>
<td>8</td>
<td>8</td>
</tr>
<tr>
<td>9</td>
<td>9</td>
</tr>
<tr>
<td>10</td>
<td>A</td>
</tr>
<tr>
<td>11</td>
<td>B</td>
</tr>
<tr>
<td>12</td>
<td>C</td>
</tr>
<tr>
<td>13</td>
<td>D</td>
</tr>
<tr>
<td>14</td>
<td>E</td>
</tr>
<tr>
<td>15</td>
<td>F</td>
</tr>
</tbody>
</table>
<p>
Use this tool to <a href="http://www.stringfunction.com/decimal-hex.html">convert decimal to hexadecimal</a>. Try also the opposite tool to <a href="http://www.stringfunction.com/hex-decimal.html">convert hex to decimal</a><br />
<strong>Converting between binary and hexadecimal</strong> is fairly easy. A single hexadecimal number requires four binary numbers. So the binary number 0000 = hexadecimal 0, binary 0100 is hexadecimal 4, and binary 1010 is hexadecimal A.<br />
<br />
In <strong>computer programming</strong>, you also need a way to incorporate letters. ASCII stands for American Standard Code for Information Interchange, and is based on the English alphabet. <strong>ASCII string are converted to binary or hexadecimal values</strong>, allowing words and letters to be used by computers.<br />
<br />
The values needed to <strong>convert ASCII string to binary or hexadecimal</strong> are contained in tables. However, if you don’t have access to a table, you can manually <a href="http://www.stringfunction.com/string-hex.html">convert ASCII to hex</a> or binary by memorizing a few rules and applying basic counting rules. The numbers 0 – 9 begin with binary number 0011 0000, and hexadecimal number 30. Now, if you just remember the hexadecimal value (which is just 2 characters) you can <a href="http://www.stringfunction.com/hex-binary.html">convert to binary</a>. The hexadecimal value “3” is 0011 binary, and “0” is 0000. Now you can count up through the ASCII number 9.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>The capital letters A – Z begin with hexadecimal 41 and the small letters a – z begin with hexadecimal 61 and binary number 0110 0001. One more important character – a space – is hexadecimal 20 and binary 0010 0000.<br />
<br />
Finally, here is an example with the <strong>manual conversions</strong>. To <a href="http://www.stringfunction.com/string-hex.html">convert a string to hexadecimal</a>, let&#8217;s take “Hi mom”, start with the “H”. “A” begins with hexadecimal value of 41, “B” is 42, …”G” is 47, and “H” is 48. Next is the letter “i”. “a” is hexadecimal 61, “b” is 62, … “h” is 68, and “i” is 69. So your first part is 48 69. Now insert the space, and the rest of the letters. Final answer: 48 69 20 6D 6F 6D<br />
<br />
If you remember how to count, a few <a href="http://www.stringfunction.com/string-hex.html">ASCII conversion to hex values</a>, and a little practice, manual conversions are pretty easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/convert-ascii-string-to-hexadecimal-to-binary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

