<?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>viciouz.co.uk &#187; Programming</title>
	<atom:link href="http://viciouz.co.uk/site/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://viciouz.co.uk/site</link>
	<description>Mundanity Incarnate</description>
	<lastBuildDate>Sat, 07 Apr 2012 21:10:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>More ARC4</title>
		<link>http://viciouz.co.uk/site/2011/10/more-arc4/</link>
		<comments>http://viciouz.co.uk/site/2011/10/more-arc4/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 13:50:29 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[arc4]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[steganography]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=282</guid>
		<description><![CDATA[I was bored again, and thought I might create a PHP script to encrypt some text or a file with ARC4 and then steganographically hide it within the least significant bits of an image or something. Haven&#8217;t done that yet, but here&#8217;s the first part &#8211; ARC4 in PHP, basically just a translation of my [...]]]></description>
			<content:encoded><![CDATA[<p>I was bored again, and thought I might create a PHP script to encrypt some text or a file with ARC4 and then steganographically hide it within the least significant bits of an image or something. Haven&#8217;t done that yet, but here&#8217;s the first part &#8211; ARC4 in PHP, basically just a translation of my javascript version from the previous post.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> arc4Bitstream
<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000088;">$i</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000088;">$j</span><span style="color: #339933;">;</span>
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000088;">$s</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span><span style="color: #000088;">$key</span><span style="color: #339933;">,</span> <span style="color: #000088;">$drop</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// initialise s array to identity</span>
		<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">256</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$i</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// key scheduling algorithm</span>
		<span style="color: #000088;">$j</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">256</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$j</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$j</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #990000;">ord</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #339933;">%</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">// swap s[i] and s[j]</span>
			<span style="color: #000088;">$k</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$j</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$j</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$k</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">j</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #666666; font-style: italic;">// ARC4-drop[n] support - recommended: 3072, compat: 768</span>
		<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStream</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$drop</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getStream<span style="color: #009900;">&#40;</span><span style="color: #000088;">$size</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$c</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$c</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$size</span><span style="color: #339933;">;</span> <span style="color: #000088;">$c</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">i</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">i</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">j</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">j</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">255</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #666666; font-style: italic;">// swap s[i] and s[j]</span>
			<span style="color: #000088;">$k</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">j</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
			<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">j</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$k</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #000088;">$data</span> <span style="color: #339933;">.=</span> <span style="color: #990000;">chr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">j</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #cc66cc;">255</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> transformText<span style="color: #009900;">&#40;</span><span style="color: #000088;">$input</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$bitstream</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStream</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$input</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$input</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
			<span style="color: #000088;">$output</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$input</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span>^<span style="color: #000088;">$bitstream</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$output</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2011/10/more-arc4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boredom; Javascript ARC4</title>
		<link>http://viciouz.co.uk/site/2011/10/boredom-javascript-arc4/</link>
		<comments>http://viciouz.co.uk/site/2011/10/boredom-javascript-arc4/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 23:25:24 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[arc4]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=274</guid>
		<description><![CDATA[Yup. Sunday afternoon is always the slowest time of the week, and as I don&#8217;t actually have any work to do yet, I decided to waste my time on this: a simple and hopefully easy-to-follow implementation of the ARC4 stream cipher in JavaScript. function arc4Bitstream&#40;key, drop&#41; &#123; // initialise s array to identity this.s = [...]]]></description>
			<content:encoded><![CDATA[<p>Yup. Sunday afternoon is always the slowest time of the week, and as I don&#8217;t actually have any work to do yet, I decided to waste my time on this: a simple and hopefully easy-to-follow implementation of the<a title="Wikipedia - RC4" href="http://en.wikipedia.org/wiki/RC4"> ARC4 stream cipher</a> in JavaScript.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> arc4Bitstream<span style="color: #009900;">&#40;</span>key<span style="color: #339933;">,</span> drop<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #006600; font-style: italic;">// initialise s array to identity</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #CC0000;">256</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> i<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// key scheduling algorithm</span>
	<span style="color: #003366; font-weight: bold;">var</span> j <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #CC0000;">256</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		j <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>j <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> key.<span style="color: #660066;">charCodeAt</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">%</span>key.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #CC0000;">255</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #006600; font-style: italic;">// swap s[i] and s[j]</span>
		<span style="color: #003366; font-weight: bold;">var</span> k <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span>j<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> k<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">i</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">j</span> <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #006600; font-style: italic;">// ARC4-drop[n] support - recommended: 3072, compat: 768</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>drop<span style="color: #009900;">&#41;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getStream</span><span style="color: #009900;">&#40;</span>drop<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
arc4Bitstream.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">getStream</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>size<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> data <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> c <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> c <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> size<span style="color: #339933;">;</span> c<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">i</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">i</span> <span style="color: #339933;">+</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #CC0000;">255</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">j</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">j</span> <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #CC0000;">255</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #006600; font-style: italic;">// swap s[i] and s[j]</span>
		<span style="color: #003366; font-weight: bold;">var</span> k <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">i</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">j</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">j</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> k<span style="color: #339933;">;</span>
&nbsp;
		data<span style="color: #009900;">&#91;</span>c<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">i</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">+</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">s</span><span style="color: #009900;">&#91;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">j</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #CC0000;">255</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #000066; font-weight: bold;">return</span> data<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
arc4Bitstream.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">transformText</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>input<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
	<span style="color: #003366; font-weight: bold;">var</span> bitstream <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getStream</span><span style="color: #009900;">&#40;</span>input.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> output <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> input.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span>
		output <span style="color: #339933;">=</span> output <span style="color: #339933;">+</span> String.<span style="color: #660066;">fromCharCode</span><span style="color: #009900;">&#40;</span>input.<span style="color: #660066;">charCodeAt</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">^</span>bitstream<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">return</span> output<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>I recommend any of the other well recognised and more importantly well tested javascript implementations out there if you are intending to put this into production use, as I only tried it with a couple of the wikipedia examples to check it worked. It also supports ARC4-drop[n] by use of the drop parameter when initialising a new arc4Bitstream. This helps to defend against analysis attacks which take advantage of strong indications to the key which are especially prevalent in the first bytes of the generated keystream. Also, there is no key management, that is left up to anybody who is using the code to implement, so using the same key twice will destroy your security. I don&#8217;t really know why I really wrote all this out anyway, it&#8217;s not like anybody will read it, even less likely they&#8217;d try and use it ;D</p>
<p>Edited 21/10/2011 when I finally realised I&#8217;d bothered doing a pair of encrypt/decrypt functions that did the exact same thing with different variable names&#8230; transformText now does both.</p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2011/10/boredom-javascript-arc4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One more important sound we wanted you to hear</title>
		<link>http://viciouz.co.uk/site/2011/04/one-more-sound/</link>
		<comments>http://viciouz.co.uk/site/2011/04/one-more-sound/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 18:06:24 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Paintball 2.0]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Trench Breakthrough: Ypres]]></category>
		<category><![CDATA[banterous]]></category>
		<category><![CDATA[cold war city]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[paintball]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=245</guid>
		<description><![CDATA[It&#8217;s been a long time. I pretty much ran out of posts when the local shop ran out of energy drinks. Now, the last exams of my school career and exodus to university lay on the horizon. In the next couple of weeks though, I&#8217;ll hopefully have enough time to get back into a routine [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=WBsSIYxlh5U">It&#8217;s been a long time.</a></p>
<p>I pretty much ran out of posts when the local shop ran out of energy drinks. Now, the last exams of my school career and exodus to university lay on the horizon. In the next couple of weeks though, I&#8217;ll hopefully have enough time to get back into a routine of posting stuff. I&#8217;ve been working on a load of things recently.</p>
<p>First of all: new programming project. Trench Breakthrough: Ypres is coming back once again, and I&#8217;m rolling my own engine in Javascript, using the new features which HTML5 and related specs (basically WebGL) have made possible. I&#8217;ve been working on this for a few months now &#8211; hopefully this&#8217;ll be big enough to have some posts of its own soon <img src='http://viciouz.co.uk/site/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Secondly, banterous.co.uk expansion, including the new domain &#8220;<a href="http://bantero.us">bantero.us</a>&#8220;, thanks to <a href="http://garrettw.net">webhead</a>. So far it&#8217;s been a site for sharing demos, but soon it will be a general DP:PB2 utility site, hosting demos in addition to a map database and other tools which were once provided by sk89q&#8217;s Digital Paint Resource site. The reference sections of that site will be replaced by the wiki which webhead is currently developing on the banterous hosting. <a href="http://www.f3l1x.eu/">f3l1x</a>, the author of some awesome <a href="http://dp.noblexity.com/">server tools</a> is also helping out. And another developer called Payl has developed a <a href="http://dplogin.com/forums/index.php?topic=22447.0">banterous demo downloader</a> <img src='http://viciouz.co.uk/site/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>I&#8217;ve also been trying to finish Cold War City for release, having done another 3 betas or so.</p>
<p>Hell, maybe I&#8217;ll even put some content up here that is actually useful for once instead of just a brain dump. You never know <img src='http://viciouz.co.uk/site/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2011/04/one-more-sound/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04, Mixxx &amp; DJ Control MP3</title>
		<link>http://viciouz.co.uk/site/2010/08/linux-mixxx-djcontrolmp3/</link>
		<comments>http://viciouz.co.uk/site/2010/08/linux-mixxx-djcontrolmp3/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 22:28:55 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[dj control mp3]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hercules]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=186</guid>
		<description><![CDATA[So, I&#8217;ve had this gadget for a few years now. It&#8217;s a DJ controller consisting of two jog pads for scratching, some basic level knobs, volume slides and a crossfader, and a few extra buttons which are used to control stuff in the bundled VirtualDJ software. However, VirtualDJ doesn&#8217;t have a linux port. There are [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve had this gadget for a few years now. It&#8217;s a DJ controller consisting of two jog pads for scratching, some basic level knobs, volume slides and a crossfader, and a few extra buttons which are used to control stuff in the bundled VirtualDJ software. However, VirtualDJ doesn&#8217;t have a linux port. There are several open source alternatives, but the one I found which was actively developed and looked good was Mixxx. It supports the Hercules DJ Control MP3 and a bunch of other similar controllers, and is cross-platform, built on the Qt toolkit.</p>
<p>So far, so good. Of course, like pretty much any hardware device other than the very basics, you&#8217;re going to need some drivers in order to use it properly. Hercules provide drivers for Windows and Mac with full support, and also, to their credit, provide linux drivers too, with source code available, but no official support. The drivers come as .deb and .rpm packages for both 32 and 64 bit systems. So far, so good. But on attempting to install the packages, which were last updated 2009, the installation dies while the kernel module is compiled. After a bit of investigating, I found the build log and the problem:</p>
<blockquote><p>error: implicit declaration of function &#8216;snd_card_new&#8217;</p></blockquote>
<p>The source uses the snd_card_new function, which was deprecated in mid 2009 and removed soon after in favour of the snd_card_create function which allowed better error handling. To fix this, you must extract the packages, open device.c, search &#8220;snd_card_new&#8221; and replace the line:</p>
<blockquote><p>card = snd_card_new(index[idx], card_id/*id[idx]*/, THIS_MODULE, 0);</p></blockquote>
<p>with:</p>
<blockquote><p>snd_card_create(index[idx], card_id/*id[idx]*/, THIS_MODULE, 0, &amp;card);</p></blockquote>
<p>That solves the problem with compiling. Then you can pack it all back up again and install with dpkg as usual. However, it&#8217;s a bit of a hassle, and to make it simpler, here&#8217;s a pre-baked .deb package, tested on Ubuntu 10.04 64bit. Have fun and happy mixing!</p>
<p><a href="http://www.viciouz.co.uk/other/miscfiles/hdjmod-dkms_1.28v_all.deb">Download [x86, x86_64, .deb, 213kb]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2010/08/linux-mixxx-djcontrolmp3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Young Rewired State 2010</title>
		<link>http://viciouz.co.uk/site/2010/08/young-rewired-state-2010/</link>
		<comments>http://viciouz.co.uk/site/2010/08/young-rewired-state-2010/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 13:30:54 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[postcode lottery]]></category>
		<category><![CDATA[yrs]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=178</guid>
		<description><![CDATA[On August 2-6 2010 I was lucky enough to participate in a great event for young developers called Young Rewired State. The event is the smaller sibling of the Rewired State week-long events and &#8216;Hack Days&#8217;, where developers get together and write innovative apps using data provided by the Government &#8211; often in ways that [...]]]></description>
			<content:encoded><![CDATA[<p>On August 2-6 2010 I was lucky enough to participate in a great event for young developers called <a title="Young Rewired State Page" href="http://www.rewiredstate.org/yrs">Young Rewired State</a>. The event is the smaller sibling of the <a title="Rewired State Website" href="http://www.rewiredstate.org/">Rewired State</a> week-long events and &#8216;Hack Days&#8217;, where developers get together and write innovative apps using data provided by the Government &#8211; often in ways that were not previously imagined or where the provided data was in a format unfriendly to development use.</p>
<p>Young Rewired State is slightly different in that the developers are all 15-18 years old, gather in centres around the country (this time there were centres in London, Brighton, Manchester and Norwich) and have a week to work on their projects. Collaborating in groups or developing alone, there was also help from professional developers as mentors. Sadly I couldn&#8217;t afford the travel costs into London for the whole week, but I was given a chance to participate anyway, working from home and just going in for the presentation event at the end of the week. <a title="@jamescun" href="http://twitter.com/jamescun">James Cunningham</a> also missed out on the mentoring, working in Dundee, but that didn&#8217;t stop him from writing a <a title="NatuSearch" href="http://natusearch.jamescun.com/">truly amazing project</a>.</p>
<p>Faced with the question of what to do for a project, I wanted to incorporate real life data into a game style simulation. However, this didn&#8217;t seem very practical, so eventually I wrote a <a href="http://viciouz.co.uk/postcode/">postcode comparison web tool</a> with PHP  &#8211; enter two postcodes and it will give you a table of results comparing the two areas in a number of different categories. As each category is output in a similar way, I separated the logic for input and output from the category logic, which allowed me to easily add and remove collections of categories by adding and removing PHP classes. Some of the categories that I implemented included ADSL and Cable Broadband availability, the number of materials able to be recycled locally, the crime level compared with the national average and the Digital Switchover date.</p>
<p>Then, on Friday, everyone assembled in London for the presentation day, where everyone gave a short talk about their project, and, technology permitting, a short demonstration. The quality of the products was amazing; everybody had clearly put a lot of effort into polishing their projects, with lovely CSS designs everywhere you looked, which was one reason that I was apprehensive when taking to the stage. A minute long delay while attempting to get the projector to work didn&#8217;t help either.</p>
<p>Projects included <a href="http://unisearch.msh100.co.uk/">UniSearch</a> &#8211; a search engine for university courses, <a title="NatuSearch" href="http://natusearch.jamescun.com/">NatuSearch</a> (a natural-syntax database search engine) by the aforementioned Mr Cunningham, an endless number of HTML5 spinners by the YRS Manchester team (who also contributed a <a title="Oh god make it stop" href="http://www.youtube.com/watch?v=224iYETYW-M">rap</a>!) and <a title="@issyl0" href="http://twitter.com/issyl0">Isabell Long&#8217;s</a> <a title="GovSpark" href="http://govspark.org.uk/">GovSpark site</a> tracking government energy usage.</p>
<p>Overall, it was a very enjoyable experience which taught me a valuable lesson &#8211; just because you&#8217;re at home doesn&#8217;t mean you can slack off working!</p>
<p>An in-depth, official writeup by the wonderful people who made everything happen can be found <a title="YRS2010 Blog" href="http://blog.rewiredstate.org/post/937744317/young-rewired-state-2010-roundup">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2010/08/young-rewired-state-2010/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>banterous.co.uk ready for launch</title>
		<link>http://viciouz.co.uk/site/2010/06/banterous-co-uk-ready-for-launch/</link>
		<comments>http://viciouz.co.uk/site/2010/06/banterous-co-uk-ready-for-launch/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 20:11:48 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[banterous]]></category>
		<category><![CDATA[demos]]></category>
		<category><![CDATA[quake 2]]></category>
		<category><![CDATA[sharing]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=93</guid>
		<description><![CDATA[So, my new project, banterous.co.uk, which I&#8217;ve been working on for a solid 2 weeks now, is almost ready for release as version 1. It&#8217;s more work than I have probably ever put into another single project, maybe with the exception of Cold War City. It&#8217;s a PHP/MySQL site for sharing demos from games based [...]]]></description>
			<content:encoded><![CDATA[<p>So, my new project, banterous.co.uk, which I&#8217;ve been working on for a solid 2 weeks now, is almost ready for release as version 1. It&#8217;s more work than I have probably ever put into another single project, maybe with the exception of Cold War City. It&#8217;s a PHP/MySQL site for sharing demos from games based on the quake2 engine. When you upload your demo, it gets processed with a few libraries I wrote, although quite a lot of the work was just porting and reversing C code from the game engine into PHP for the web server. The result is a nice page showing some information about the demo along with a download link. The layout/CSS aren&#8217;t particularly amazing but do make use of HTML5 and CSS3. The latter in particular is mighty useful and as such IE doesn&#8217;t like it and will present you with a lovely blocky site with no rounded corners. Oh well.</p>
<p>You can have a look around at www.banterous.co.uk &#8211; try not to break anything <img src='http://viciouz.co.uk/site/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you&#8217;re interested in having a look at the PHP library internals, I&#8217;ll probably be releasing them some time under the GPL.</p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2010/06/banterous-co-uk-ready-for-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>minivcs 0.1</title>
		<link>http://viciouz.co.uk/site/2009/10/minivcs-0-1/</link>
		<comments>http://viciouz.co.uk/site/2009/10/minivcs-0-1/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 19:20:11 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[minivcs]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=55</guid>
		<description><![CDATA[Well, here it is, version 0.1 of minivcs. I haven&#8217;t worked on it for a while, but did a couple of modifications before I packaged it up. The tarball contains a readme, the server php script, a compiled win32 client, and the C source for the client. If you want to try it out without [...]]]></description>
			<content:encoded><![CDATA[<p>Well, here it is, version 0.1 of <a title="minivcs" href="http://viciouz.co.uk/site/2009/09/minivcs/" target="_self">minivcs</a>. I haven&#8217;t worked on it for a while, but did a couple of modifications before I packaged it up. The tarball contains a readme, the server php script, a compiled win32 client, and the C source for the client.</p>
<p>If you want to try it out without uploading the .php script, you can use &#8220;viciouz.co.uk/other&#8221; as a server address.</p>
<p><a title="minivcs-0.1.tar.gz" href="http://viciouz.co.uk/other/minivcs/minivcs-0.1.tar.gz" target="_blank">minivcs-0.1.tar.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2009/10/minivcs-0-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>minivcs</title>
		<link>http://viciouz.co.uk/site/2009/09/minivcs/</link>
		<comments>http://viciouz.co.uk/site/2009/09/minivcs/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 17:41:09 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[minivcs]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/2009/09/minicvs/</guid>
		<description><![CDATA[Quite a while back I started a project to synchronise files into a local directory from a web server using a PHP script on the server side and a C client. The purpose was to act as a data repository for game media files for trench breakthrough. There are already existing alternatives, most notably rsync, [...]]]></description>
			<content:encoded><![CDATA[<p>Quite a while back I started a project to synchronise files into a local directory from a web server using a PHP script on the server side and a C client. The purpose was to act as a data repository for game media files for trench breakthrough. There are already existing alternatives, most notably rsync, which provides a myriad of features and options. However, the rsync server is run as a daemon, and seeing as I and many others only have web hosting and do not pay for a VPS or full dedicated box, we cannot use it. So this is effectively a poor-man&#8217;s-rsync, called minivcs (mini version control system). The &#8216;version&#8217; in the title is a bit of a misnomer in fact, because it compares files with hash functions such as MD5 or SHA1, and does not keep old versions of files. The hash functions used can be managed on server and client side. The server also supports caching, so it doesn&#8217;t necessarily recalculate the hashes for every single sync request. The project and its source will be released as version 0.1 once I&#8217;ve cleaned it up a bit, checked for security issues on the server side (I&#8217;m new to PHP) and done some basic documentation.</p>
<p>So, um, yeah. Not much else to say. Bye.</p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2009/09/minivcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video Uploading</title>
		<link>http://viciouz.co.uk/site/2009/08/video-uploading/</link>
		<comments>http://viciouz.co.uk/site/2009/08/video-uploading/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 13:56:49 +0000</pubDate>
		<dc:creator>ViciouZ</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[TossBot]]></category>

		<guid isPermaLink="false">http://viciouz.co.uk/site/?p=17</guid>
		<description><![CDATA[A few weeks ago, once I got the movement code working (albeit badly) in TossBot, my Quake II bot project, I made a quick video of the UI and the bot running around and firing at the player. I never put it online, but I want to try out a useful FLV embedding plugin, so [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, once I got the movement code working (albeit badly) in TossBot, my Quake II bot project, I made a quick video of the UI and the bot running around and firing at the player. I never put it online, but I want to try out a useful FLV embedding plugin, so here it is.</p>
[See post to watch Flash video]
<p>The shortened and rather pointless music clip is: &#8220;Can You Feel The Pace&#8221; by Marc Smith &amp; Al Storm</p>
]]></content:encoded>
			<wfw:commentRss>http://viciouz.co.uk/site/2009/08/video-uploading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

