[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Cipher
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /sci/ - Science & Math

Thread replies: 13
Thread images: 2
File: 17002.jpg (26 KB, 300x293) Image search: [Google]
17002.jpg
26 KB, 300x293
Let's see who is smart.
Hint: Pic not related

FBFXD YOBSH TDHSX DKLXD HSVFZ YQFSO ZYRZC ULVVF XXCDC UFSLC OZYFX XDHSV FXFFT XCDPD QBYLT FDKSF ZVUXA DJCDS SHXXZ LYZYC FSVFI CXXHP PFXCU LXQFF YXFFY ZYMZV ZYZCB DKHXF TQLXX BYDCV OFLSU DRCDT LJFAZ SFVCV DYCLV CLOXD YDCVO FLSRU BDHSH XKSZF YAXLS FJFFI ZYPCU ZXCDC UFTXF OMFXA FCLZO FAZYK DLQDH CSLCZ OZYFX ULSAC DDQCL ZYQHC UZPUM LOHFV DHOAO FLACD LSSFX CDKTL EDSCL SPFCX DKYHS FTQFS PZYMF XCZPL CZDYX MZCLO RFSFL VUSFZ VUXAD JCDSL CFLSO ZFXCD IIDSC HYZCB AZXVS FFCFY NHZSZ FXZYK SFYVU LYAHX XFVCD SXDYO BSFNH FXCKH YAXKD SKHSC UFSZY MFXCZ PLCZD Y
>>
"What the fuck did you just fucking say about me, you little bitch? I’ll have you know I graduated top of my class in the Navy Seals, and I’ve been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and I’m the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You’re fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that’s just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little “clever” comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn’t, you didn’t, and now you’re paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You’re fucking dead, kiddo."
There, OP
>>
>>7640249
Close but no cigar
>>
>>7640244
Vigenère style, use correlation index shit to find language. Then try to guess key size with smart padding for a starter.
>>
>>7640244
simple, s is the most commonly used letter in English

I simply which letter is used the most and translate is to s, then bas the rest of the decryption off of that
>>
File: 62504034.jpg (122 KB, 500x370) Image search: [Google]
62504034.jpg
122 KB, 500x370
Pretty sure I wrote a program that could brute force this Fall quarter of my freshman year.

Memethon 3.4 code! Beware!
===================================
def Caesar_break(s: 'ciphertext string') -> "Plaintext":
'''Takes a ciphertext string and returns the plaintext for that string
without having the key'''

# Copies wordlist.txt to a list of strings
# wordlist.txt is a text file containing all known words in the English dictionary
wordlist = open("wordlist.txt", 'r')
dictionary = wordlist.read().lower().split()
wordlist.close()

alphabet = "abcdefghijklmnopqrstuvwxyz' " # Alphabet used to clean-up the string
decrypt_alphabet = "abcdefghijklmnopqrstuvwxyz" # Alphabet used to decrypt the string

# Initializes local variables
clean_string = ''
result = ''

# Generates a clean string that is all lowercase and contains only specific characters
for i in s.lower():
if i in alphabet:
clean_string += i

for integer in range(len(decrypt_alphabet)): # Cracks the code using a brute force method

# Generates a temporary string that contain the decrypted message
tempstring = ''
for n in clean_string:
for index in range(len(decrypt_alphabet)):
if n == decrypt_alphabet[index]:
tempstring += decrypt_alphabet[(index + integer) % len(decrypt_alphabet)]
if n == ' ':
tempstring += ' '
elif n == "'":
tempstring += "'"

# Checks if the temporary string makes sense
not_gibberish = True
for word in tempstring.split():
if not word in dictionary:
not_gibberish = False
if not_gibberish:
result = tempstring

# Gives an error if result comes out empty
if result == '':
result = "Error: One or more words is missing from wordlist.txt"

return result
>>
>>7640401
>s is the most commonly used letter in English
Do you even ETAOIN SRHLDCU?
>>
>>7640545
>python

HAHAHAHAHAHA, fail
>>
>>7640545
I just realized how great my comments were back then compared to the fucking (lack of) comments I make now. Holy shit.
>>
>>7640553
What's wrong with using Python?
>>
BE SURE TO DRINK YOUR OVALTINE
>>
>>7640577
le meme stupid language for people who can't into low level tech savvy languages with less overhead
>>
>>7640589
>le meme stupid language
Don't care, shit works.
>who can't into low level tech savvy languages with less overhead
Oftentimes development speed is more important than execution speed, and Python is pretty easy to use. Languages like C/C++ have their place, but computation time often isn't the bottleneck anyway.
Thread replies: 13
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.