CryptoPals

CryptoPals offers cryptography challenges organized into sets, beginning with foundational exercises.

cryptopals.com
CryptoPals homepage screenshot

About CryptoPals

CryptoPals is a collection of programming exercises for learning cryptography by implementing attacks. Its eight sets run from basics through block and stream crypto, randomness, Diffie-Hellman, RSA and DSA, hashes, and abstract algebra. You need to be able to code proficiently in some language; no prior cryptography knowledge is required, and the sets get progressively harder.

Pricing is not clearly stated.

Key features

  • Exercises demonstrate attacks on real-world crypto
  • Problems are derived from weaknesses in real-world systems and modern cryptographic constructions
  • The site provides enough information to learn the underlying concepts
  • Solutions can be written in any programming language
  • The problems are not designed as trick puzzles
Best for: People who can already code and want to learn how cryptosystems are built and attacked.

CryptoPals at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Web
Details verified
Oct 22, 2026 · Official source
Open source
Not stated
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

CryptoPals alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 3 alternatives

CryptoHack

cryptohack.org

CryptoHack teaches modern cryptography through free interactive challenges and exercises.

Popular in Learn to Code

Well-known listings from the same topic.

All 387

CryptoPals FAQ

How much math do I need?
The site says many modern crypto attacks do not involve much hard math, and suggests a local ninth grader can help with difficult parts.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing