Codebreaking Thread

Solve problems, post new ciphers in thread, etc

Today’s Crypto University Challenges are:

G1 Undergrad at CU
Just something hopefully easy to get started. Crack the cipher. (Note: the spaces are just grouping, the underscores are the real spaces.)

WOTHL EMOEU LE__B C_TC!

G2 Master's Program
To get a Master's Degree or Ph.D at CU you must analyze this encryption program I just made.

The python code can be found here:

pastebin.com/VdgwPdwY

Let me explain how the encryption program works.

You choose a key, which can be any number really. The ith letter is encrypted like this:
[eqn]cipher_i = [ message_i + (key*(i+1)\mod 95 ) ] \mod 95 [/eqn]
Which produces a random (based on the key) value between 0 and 94, add 32 to get an ASCII character.

You can use the program by typing these commands:

encrypt(42046,"I'm pregnant")

Output: "8WBkFqL,W={


G2: Tell me which values would not be effective as keys.

G3 PhD Program
(I do not know the answers to these questions, nobody does, that is why it is PhD level )

Either find a way to crack this cipher
80pnt{n?AZY?ygA*fb0}mG&hK@y[Y

OR you can also find some kind of attack or vulnerability with the system. Let me know if chosen plaintext or any other information can help you crack the cipher.

Sincerely yours,
1-}Z?{

Other urls found in this thread:

cs.mtu.edu/~shene/NSF-4/Tutorial/VIG/Vig-Frequency-Analysis.html
pastebin.com/g2XLy5rG
youtube.com/watch?v=2aHkqB2-46k&list=PL2jrku-ebl3H50FiEPr4erSJiJHURM9BX
twitter.com/NSFWRedditGif

>G1
Anagram of
>Welcome to the Club

>G3
key=67+95*n
message=The Beta Uprising is upon us.

>Sincerely yours,
Merkle

OK you get an honorary PhD in Cryptanalysis for your contribution.

Tell me how the fug you did it

bruteforce
key has range of 0-95

for key in range(0, 95):
print(key, decrypt(key, "80pnt{n?AZY?ygA*fb0}mG&hK@y[Y"))

Extra points if you can figure out the best way to fix it

Cryptography club? Is there another platform this club uses for communication?

>crypto club
>not communicating exclusively through hex encoded ASN1

Just email and discord if you count that. You can email me if you want MessageInCode@gmail.com

you can use frequency analysis to estimate the keyword length...

cs.mtu.edu/~shene/NSF-4/Tutorial/VIG/Vig-Frequency-Analysis.html