The 30-second summary

AWS KMS GenerateRandom returns random bytes generated inside an AWS-managed FIPS 140-2 HSM. It's the right primitive when your compliance posture specifically requires HSM-sourced entropy, or when you're already inside AWS's trust boundary for key material.

Provable.io is not an HSM. It's a commit-reveal API: the server publishes a hash of its seed before the draw, then reveals it, and anyone can re-derive the bytes. Different trust model — "trust the AWS HSM" vs "trust the open-source verifier."

Feature matrix

CapabilityProvable.ioAWS KMS GenerateRandom
Trust modelRe-derive from published seed + hashTrust AWS-managed HSM
Verifiable to a third partyYesNo — bytes are just bytes
Pre-commitmentYesNo
Reproducible from seedYesNo
Entropy sourceHMAC-SHA256 over committed seedsFIPS 140-2 validated HSM
CostFree up to per-account daily quotaPer-request KMS API charge
IAM / network surfaceAPI key or anonymousRequires AWS credentials & KMS permissions
Game primitivesdice, shuffle, weighted pick, distributionsRaw bytes only
Best forPublic-audience draws that need proofHSM-sourced key material inside AWS

When AWS KMS GenerateRandom is the right answer

KMS GenerateRandom is the right primitive when you actually need HSM-backed entropy:

When Provable.io is the right answer

KMS doesn't publish a proof — the bytes are unobservable from outside your account. Reach for Provable.io when:

Try it now

Same shape as kms.GenerateRandom({ NumberOfBytes: 32 }) — except the bytes carry a published proof.

curl "https://api.provable.io/api/bytes?clientSeed=vs-aws-kms-demo&count=32&encoding=hex"

FAQ

Is HSM entropy stronger than HMAC-SHA256?

For practical key-generation purposes, both are computationally indistinguishable from uniform. The HSM matters for compliance ("entropy came from a certified module"); the HMAC stream matters for verifiability ("anyone can re-derive these bytes").

Can I use both?

Yes — call KMS for key material, Provable.io for any draw a third party will audit. They answer different questions.

What about GCP Cloud KMS?

Same general comparison applies — see the dedicated page.

Next steps