April 30, 2024, 9:20 p.m. | Stefan Alfbo

DEV Community dev.to

This is the third crypto challenge in set 1 from cryptopals, which is the qualifying set.


The difficulty level is relatively easy, to solve this problem I have used the programming language Go.





Problem description

The input is a hex encoded string:


1b37373331363f78151b7f2b783431333d78397828372d363c78373e783a393b3736


which has been XOR'd against a single character. Find the key, and decrypt the message.


Devise some method for "scoring" a piece of English plaintext. Character frequency is a good metric. Evaluate each output and choose …

100daystooffload challenge cipher crypto cryptopals decrypt easy find hex input key language problem programming programming language single the key third xor

Sr. Product Manager

@ MixMode | Remote, US

Information Security Engineers

@ D. E. Shaw Research | New York City

Technology Security Analyst

@ Halton Region | Oakville, Ontario, Canada

Senior Cyber Security Analyst

@ Valley Water | San Jose, CA

Cybersecurity CASB Engineer - Corporate (Las Vegas)

@ Caesars Entertainment | United States

Cyber Security Engineer II (Boundary Protection,WAF, ZTNA,AWS)

@ FICO | Bengaluru, India