SHA256 Hash String
Write a function that returns the SHA256 hexadecimal digest of a given string.
Verify HMAC signature
Implement a function that verifies an HMAC-SHA256 signature for a message and key.
Password Salt Hash
Implement a function that returns a secure salted SHA-256 password hash with a deterministic format.
Showing 3 challenges · Cryptography & Hashing
Cryptography & Hashing — Python coding challenges
What you will find here
This page lists cryptography & hashing challenges — real Python problems you solve in the browser IDE with instant test feedback. Each challenge includes a clear brief, starter code, and automated checks.
Challenges vs tutorials and quizzes
Challenges test what you can build under constraints. For guided teaching, use our Python tutorials. For quick checks, try quizzes or copy snippets from code samples.