<?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: [AS3] Applying ROT128 Encryption On Binary XML</title>
	<atom:link href="http://www.ghostwire.com/blog/archives/as3-applying-rot128-encryption-on-binary-xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghostwire.com/blog/archives/as3-applying-rot128-encryption-on-binary-xml/</link>
	<description>Flash UI Components</description>
	<lastBuildDate>Tue, 23 Aug 2011 08:29:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: sunny</title>
		<link>http://www.ghostwire.com/blog/archives/as3-applying-rot128-encryption-on-binary-xml/comment-page-1/#comment-429</link>
		<dc:creator>sunny</dc:creator>
		<pubDate>Fri, 04 Dec 2009 06:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwire.com/blog/?p=1381#comment-429</guid>
		<description>&quot;The problem with yours – is that it has to load an external XML-file.&quot;

Sorry for not mentioning it in the original post, but you can definitely embed the XML:

http://www.ghostwire.com/blog/archives/as3-embedding-binary-xml/

I am not sure though, if it is worthwhile converting the XML to binary, ROT128-encrypting it, embedding the encrypted binary data, and using SWF-embed protection.  Seems a little overkill, perhaps.</description>
		<content:encoded><![CDATA[<p>&#8220;The problem with yours – is that it has to load an external XML-file.&#8221;</p>
<p>Sorry for not mentioning it in the original post, but you can definitely embed the XML:</p>
<p><a href="http://www.ghostwire.com/blog/archives/as3-embedding-binary-xml/" rel="nofollow">http://www.ghostwire.com/blog/archives/as3-embedding-binary-xml/</a></p>
<p>I am not sure though, if it is worthwhile converting the XML to binary, ROT128-encrypting it, embedding the encrypted binary data, and using SWF-embed protection.  Seems a little overkill, perhaps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.ghostwire.com/blog/archives/as3-applying-rot128-encryption-on-binary-xml/comment-page-1/#comment-428</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Fri, 04 Dec 2009 01:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghostwire.com/blog/?p=1381#comment-428</guid>
		<description>Great!

I love your series, I have used every &quot;hack&quot; you have mentioned. I am making a highscore-game in which I tend to protect.

md5, and some other stuff to detect a false highscore-entry. But the flashclient is easily decompiled and explored - but your embed-solution, as well as ROT128 etc is really KING.

Do not own many decompilers, but the one I had did not crack the swf!

Now I have used this binary-xml as well - but went for another solution.
The problem with yours - is that it has to load an external XML-file.

But I want to have the bytearray of the XML to be inside of the swf.
for example:

var bytearray:ByteArray = new ByteArray();
myBinaryXmlString = &quot;rÛH?æô; 1«?U%º.S9hKåRé?¬???G&quot;
myDecodedBinaryXML = bytearray.???..

setQuestionsXML(new XML(myDecodedBinaryXML));

I know - if someone cracks the SWF, then they will see the decoding etc..
But I did not understand how to decode the binary-string - without making a loading of the XML-file as you did, so that it comes in as a ByteArray automatically.

So I used http://wonderfl.net/code/d65bf0f3fecc166ce9404a102a602653bc80457d
instead to make my xml to a binary - and being able to decode it.

Thanks.. YOU are so great!</description>
		<content:encoded><![CDATA[<p>Great!</p>
<p>I love your series, I have used every &#8220;hack&#8221; you have mentioned. I am making a highscore-game in which I tend to protect.</p>
<p>md5, and some other stuff to detect a false highscore-entry. But the flashclient is easily decompiled and explored &#8211; but your embed-solution, as well as ROT128 etc is really KING.</p>
<p>Do not own many decompilers, but the one I had did not crack the swf!</p>
<p>Now I have used this binary-xml as well &#8211; but went for another solution.<br />
The problem with yours &#8211; is that it has to load an external XML-file.</p>
<p>But I want to have the bytearray of the XML to be inside of the swf.<br />
for example:</p>
<p>var bytearray:ByteArray = new ByteArray();<br />
myBinaryXmlString = &#8220;rÛH?æô; 1«?U%º.S9hKåRé?¬???G&#8221;<br />
myDecodedBinaryXML = bytearray.???..</p>
<p>setQuestionsXML(new XML(myDecodedBinaryXML));</p>
<p>I know &#8211; if someone cracks the SWF, then they will see the decoding etc..<br />
But I did not understand how to decode the binary-string &#8211; without making a loading of the XML-file as you did, so that it comes in as a ByteArray automatically.</p>
<p>So I used <a href="http://wonderfl.net/code/d65bf0f3fecc166ce9404a102a602653bc80457d" rel="nofollow">http://wonderfl.net/code/d65bf0f3fecc166ce9404a102a602653bc80457d</a><br />
instead to make my xml to a binary &#8211; and being able to decode it.</p>
<p>Thanks.. YOU are so great!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

