SHA256 Hash String
Write a function that returns the SHA256 hexadecimal digest of a given string.
Compute SHA-1 Hash String
Write a function that returns the SHA-1 hash of a string as a 40-character hex string.
Showing 2 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.