<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How does one flip a coin on the internet?</title>
	<atom:link href="http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/</link>
	<description>software development and testing</description>
	<lastBuildDate>Thu, 24 Apr 2008 12:51:01 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dean</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-282</link>
		<dc:creator>Dean</dc:creator>
		<pubDate>Mon, 09 Jan 2006 17:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-282</guid>
		<description>This looks like it might do the job: http://cgi.cs.duke.edu/~des/vct/vct.cgi</description>
		<content:encoded><![CDATA[<p>This looks like it might do the job: <a href="http://cgi.cs.duke.edu/~des/vct/vct.cgi" rel="nofollow">http://cgi.cs.duke.edu/~des/vct/vct.cgi</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Huggins</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-280</link>
		<dc:creator>Jason Huggins</dc:creator>
		<pubDate>Thu, 05 Jan 2006 17:40:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-280</guid>
		<description>Great suggestions... Another idea I had was that it would be nice if in Yahoo IM you could simply &quot;right-click&quot; on a friends name in your buddy list, and simply select from a sub-menu of choices such as &quot;Challenge to a coin flip...&quot; or &quot;Challenge to a dice roll&quot;...  A simple wizard would walk each &quot;player&quot; through the steps to determine the winner. I guess you can do that now with the &quot;Play a Game...&quot; option, but I&#039;d want a pure game of chance--- no skill required. :-)</description>
		<content:encoded><![CDATA[<p>Great suggestions&#8230; Another idea I had was that it would be nice if in Yahoo IM you could simply &#8220;right-click&#8221; on a friends name in your buddy list, and simply select from a sub-menu of choices such as &#8220;Challenge to a coin flip&#8230;&#8221; or &#8220;Challenge to a dice roll&#8221;&#8230;  A simple wizard would walk each &#8220;player&#8221; through the steps to determine the winner. I guess you can do that now with the &#8220;Play a Game&#8230;&#8221; option, but I&#8217;d want a pure game of chance&#8212; no skill required. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrik</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-279</link>
		<dc:creator>Patrik</dc:creator>
		<pubDate>Thu, 05 Jan 2006 11:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-279</guid>
		<description>Since you have at trusted third party, send him a mail each with &#039;rock&#039;, &#039;scissors&#039; or &#039;paper&#039;. That&#039;s how it&#039;s done!</description>
		<content:encoded><![CDATA[<p>Since you have at trusted third party, send him a mail each with &#8216;rock&#8217;, &#8217;scissors&#8217; or &#8216;paper&#8217;. That&#8217;s how it&#8217;s done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesper Lyster</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-278</link>
		<dc:creator>Jesper Lyster</dc:creator>
		<pubDate>Thu, 05 Jan 2006 08:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-278</guid>
		<description>Or you might just roll some virtual dice to determine the winner http://www.irony.com/mailroll.html</description>
		<content:encoded><![CDATA[<p>Or you might just roll some virtual dice to determine the winner <a href="http://www.irony.com/mailroll.html" rel="nofollow">http://www.irony.com/mailroll.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hunt</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-277</link>
		<dc:creator>Peter Hunt</dc:creator>
		<pubDate>Thu, 05 Jan 2006 01:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-277</guid>
		<description>This is a way that works for general random numbers.

Have Alice generate a list of N numbers and encrypt the list with a private key. Alice then sends the list to Bob. Bob can&#039;t look at the list yet, because he doesn&#039;t know the secret key yet. Bob then picks a number between 0 and N-1 and sends it to Alice. Alice replies with the secret key and Bob decrypts the list. The random number is the index in Alice&#039;s list that Bob picked.</description>
		<content:encoded><![CDATA[<p>This is a way that works for general random numbers.</p>
<p>Have Alice generate a list of N numbers and encrypt the list with a private key. Alice then sends the list to Bob. Bob can&#8217;t look at the list yet, because he doesn&#8217;t know the secret key yet. Bob then picks a number between 0 and N-1 and sends it to Alice. Alice replies with the secret key and Bob decrypts the list. The random number is the index in Alice&#8217;s list that Bob picked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-276</link>
		<dc:creator>Bart</dc:creator>
		<pubDate>Wed, 04 Jan 2006 22:07:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-276</guid>
		<description>Here&#039;s a way to virtually flip a coin with cryptography:

(Take from http://www.everything2.com/index.pl?node_id=1342791 - the same method is also described in the book &quot;Applied Cryptography&quot; by Bruce Schneier)

This method works well over the phone, or in another circumstance where two parties are physically separated (like over the Internet!).

Alice and Bob agree on a hash function H which compresses its input to an N-bit result. H should have a result long enough to prevent a mortal from finding two inputs which hash to the same result. It should also be free of shortcuts for doing so. In other words, it should be a cryptographic hash.

One of the two people picks a random number, hashes it with H(x), and tells y=H(x) to the other party. The recipient of y guesses whether the random input was even or odd. After this, the party who generated the random number reveals this secret number. The recipient can compute H(x) and verify that it equals y, thus, that x is almost certainly the original random number. After this it is obvious to both sides whether the guess was correct.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a way to virtually flip a coin with cryptography:</p>
<p>(Take from <a href="http://www.everything2.com/index.pl?node_id=1342791" rel="nofollow">http://www.everything2.com/index.pl?node_id=1342791</a> &#8211; the same method is also described in the book &#8220;Applied Cryptography&#8221; by Bruce Schneier)</p>
<p>This method works well over the phone, or in another circumstance where two parties are physically separated (like over the Internet!).</p>
<p>Alice and Bob agree on a hash function H which compresses its input to an N-bit result. H should have a result long enough to prevent a mortal from finding two inputs which hash to the same result. It should also be free of shortcuts for doing so. In other words, it should be a cryptographic hash.</p>
<p>One of the two people picks a random number, hashes it with H(x), and tells y=H(x) to the other party. The recipient of y guesses whether the random input was even or odd. After this, the party who generated the random number reveals this secret number. The recipient can compute H(x) and verify that it equals y, thus, that x is almost certainly the original random number. After this it is obvious to both sides whether the guess was correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Huggins</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-275</link>
		<dc:creator>Jason Huggins</dc:creator>
		<pubDate>Wed, 04 Jan 2006 20:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-275</guid>
		<description>Darn your Agile and &quot;The simplest thing that could possibly work&quot; ways!</description>
		<content:encoded><![CDATA[<p>Darn your Agile and &#8220;The simplest thing that could possibly work&#8221; ways!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.jrandolph.com/blog/2006/01/04/how-does-one-flip-a-coin-on-the-internet/comment-page-1/#comment-274</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 04 Jan 2006 20:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jrandolph.com/blog/?p=20#comment-274</guid>
		<description>I think I&#039;ll just call in to see you when I&#039;m in the office dood :-)</description>
		<content:encoded><![CDATA[<p>I think I&#8217;ll just call in to see you when I&#8217;m in the office dood :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

