<story><title>Rot8000</title><url>http://rot8000.com/Index</url></story><parent_chain></parent_chain><comment><author>danbruc</author><text>In case the author sees this, some comments about Rotator.cs.&lt;p&gt;1. This algorithm will break if the number of valid characters in the BMP becomes odd.&lt;p&gt;EDIT: As user platforms pointed out, there is an unit test for this.&lt;p&gt;2. There is an overflow in line 39 because of the check i &amp;lt;= BMP_SIZE in line 37.&lt;p&gt;3. The web server at rot8000.com exposes at least some errors with stack traces, try rotating the string &amp;lt;script&amp;gt;.&lt;p&gt;4. In line 42 you are performing a linear search for every character you transform, that is very inefficient, especially with characters at the end of the BMP. At least use a hash map or even better just use an array mapping the input code point directly to the output code point.&lt;p&gt;5. rot8000.com does at the very least allow rather long inputs which paired with the inefficiency of the linear search makes a DoS attack pretty easy. I tried a 10,000 word lorem ipsum, it was not rejected and the request took a minute to complete.</text></comment>
<story><title>Rot8000</title><url>http://rot8000.com/Index</url></story><parent_chain></parent_chain><comment><author>ninjin</author><text>This certainly is what I would call a “neat hack”. Out of curiosity I had to check what it rotates Japanese into. Turns out, mostly Korean: “日本語はどうかな？” becomes “ື걅갿개갡걀等”.</text></comment>