rng-crypto-specialist
Installation
SKILL.md
RNG Crypto Specialist
Use this skill to make RNG behavior reproducible, tamper-evident, and independently verifiable.
Workflow
- Define fairness contract before implementation.
- Specify game outcomes that are RNG-derived, transcript fields, and reveal timing.
- Set immutable rules for server seed rotation, client seed changes, and nonce increments.
- Declare what players can verify pre- and post-reveal.
- Choose cryptographic primitives and transcript schema.
- Prefer
SHA-256commitments andHMAC-SHA256outcome derivation unless the system requires otherwise. - Store canonical transcript fields:
serverSeedHash,serverSeed(after reveal),clientSeed,nonce,gameId,mode, andoutcome. - Define exact string/byte serialization and encoding rules to avoid replay mismatches.