Repository navigation
Conversation
Test Results309 tests +3 306 ✅ +3 6s ⏱️ ±0s Results for commit fbb5f53. ± Comparison against base commit 40465e6. This pull request skips 1 and un-skips 1 tests. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
9 similar comments
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
|
@mperor ⏰ This daily topic is still waiting for your review. |
What you'll learn
KEMAPI, ending up with the same shared secret on both sidesML-DSAthrough the familiarSignatureAPIWhy it matters
ML-KEM and ML-DSA are the NIST-standardized, quantum-resistant replacements for Diffie-Hellman/RSA key exchange and digital signatures; from JDK 24 they're built into the JDK with no extra library, so knowing the JCA names (
"ML-KEM-768","ML-DSA-65") is enough to start using them today.Read more
Quiz
If you call
verifier.verify(signature)with the correct public key but feed it a message that differs from the one that was signed, what does it return?Answer
It returns `false` (it does not throw). ML-DSA verification recomputes a check over the exact bytes passed to `update`; any difference from the signed message makes the signature fail to match, so `verify` simply reports `false` instead of raising an exception.Note: tests were not run locally. The build requires a JDK 25 toolchain, which Gradle's foojay auto-provisioning tries to download from
api.foojay.io; that host is blocked by this environment's network policy, and no JDK 25 is otherwise installed here. The ML-KEM/ML-DSA algorithm names and API usage are verified against JEP 496/497 and theKEM/SignatureJCA docs. Opening as a draft so CI (which runs on JDK 25) can verify.Closes #111