TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rot8000

158 pointsby max_sendfeldover 6 years ago

16 comments

danbrucover 6 years ago
In case the author sees this, some comments about Rotator.cs.<p>1. This algorithm will break if the number of valid characters in the BMP becomes odd.<p>EDIT: As user platforms pointed out, there is an unit test for this.<p>2. There is an overflow in line 39 because of the check i &lt;= BMP_SIZE in line 37.<p>3. The web server at rot8000.com exposes at least some errors with stack traces, try rotating the string &lt;script&gt;.<p>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.<p>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.
评论 #18498033 未加载
评论 #18498671 未加载
评论 #18500005 未加载
jstanleyover 6 years ago
Interesting! I made a very similar tool earlier this year.<p>It comes with presets for various different areas of Unicode, and some example text, although the intended use case was very different, I looked at it from a steganography perspective rather than an honours-system obfuscation perspective.<p><a href="https:&#x2F;&#x2F;incoherency.co.uk&#x2F;mojibake&#x2F;" rel="nofollow">https:&#x2F;&#x2F;incoherency.co.uk&#x2F;mojibake&#x2F;</a><p>I initially thought it would be able to decode the rot8000 output without any modification but I think the utf-8 escaping that my tool expects (from its own output) gets confused by the output from rot8000.
评论 #18496692 未加载
评论 #18496683 未加载
评论 #18497292 未加载
ninjinover 6 years ago
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 “ື걅갿개갡걀等”.
egypturnashover 6 years ago
It meticulously refrains from rotating emoji. Somehow this feels like failure.
评论 #18495904 未加载
theophrastusover 6 years ago
I was curious as to how one might implement this with a familiar language, and fetched up on this interesting python github script, specifically &quot;rot32768&quot;[0]<p>[0] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;terrorbyte&#x2F;7967039" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;terrorbyte&#x2F;7967039</a>
ConcernedCoderover 6 years ago
FYI: Here&#x27;s a static JavaScript version I whipped-up ( as a lunch-time challenge ) that will reversable rotate everything except whitespace...<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jeffallen6767&#x2F;rot0x8000" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jeffallen6767&#x2F;rot0x8000</a>
评论 #18499059 未加载
platformsover 6 years ago
籝籱籮 籺籾籲籬籴 籫类籸粀籷 籯籸粁 米籾籶籹籼 籸籿籮类 簹粁籁簹簹簹 籭籸籰籼簷 <a href="http:&#x2F;&#x2F;rot8000.com&#x2F;Index?%E7%B1%9D%E7%B1%B1%E7%B1%AE%20%E7%B1%BA%E7%B1%BE%E7%B1%B2%E7%B1%AC%E7%B1%B4%20%E7%B1%AB%E7%B1%BB%E7%B1%B8%E7%B2%80%E7%B1%B7%20%E7%B1%AF%E7%B1%B8%E7%B2%81%20%E7%B1%B3%E7%B1%BE%E7%B1%B6%E7%B1%B9%E7%B1%BC%20%E7%B1%B8%E7%B1%BF%E7%B1%AE%E7%B1%BB%20%E7%B0%B9%E7%B2%81%E7%B1%81%E7%B0%B9%E7%B0%B9%E7%B0%B9%20%E7%B1%AD%E7%B1%B8%E7%B1%B0%E7%B1%BC%E7%B0%B7" rel="nofollow">http:&#x2F;&#x2F;rot8000.com&#x2F;Index?%E7%B1%9D%E7%B1%B1%E7%B1%AE%20%E7%B...</a>
tsaoyuover 6 years ago
Reminds me 锟斤拷 due to Unicode replacement character misinterpretation problem. When placeholder &#x27;U+FFFD&#x27; decoded using GBK it will displayed as these characters. Some of glitches can still be found online, e.g., <a href="https:&#x2F;&#x2F;docs.oracle.com&#x2F;cd&#x2F;E19199-01&#x2F;817-4244-10&#x2F;preface.html" rel="nofollow">https:&#x2F;&#x2F;docs.oracle.com&#x2F;cd&#x2F;E19199-01&#x2F;817-4244-10&#x2F;preface.htm...</a>
omarforgotpwdover 6 years ago
If you are just starting to get interested in cryptography, try and make a program that can break ciphers like this one or similar. Hint: Use frequency analysis on sample ciphertext and compare to known letter frequencies in english letter to match to plaintext. Then you can determine the offset and decrypt
collywover 6 years ago
Can someone explain what this is doing please?
评论 #18496560 未加载
评论 #18496512 未加载
TazeTSchnitzelover 6 years ago
Reminds me of the infamous 畂桳栠摩琠敨映捡獴.
评论 #18496863 未加载
supakeenover 6 years ago
Fun, but outputs unprintable or non-used characters and only functions on the BMP?
loa_in_over 6 years ago
Reminds me of <a href="http:&#x2F;&#x2F;base91.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;base91.sourceforge.net&#x2F;</a>.<p>We could go further, straight to Base8000!
评论 #18497501 未加载
评论 #18499613 未加载
dullroarover 6 years ago
Should also change spaces to zero-width spaces, which would then make it less obvious where the word breaks are.
dana321over 6 years ago
籖粂 籶籸籽籱籮类 籪籽籮 粂籸籾类 籬籱籲粀籸粀籸粀籸粀粀
tuttle7over 6 years ago
Noone is concerned by the fact this is sending your text using POST requests. The guy could not use DOM&#x2F;JS.
评论 #18496493 未加载
评论 #18496342 未加载
评论 #18496673 未加载
评论 #18505816 未加载
评论 #18496782 未加载
评论 #18496477 未加载