Cryptography

The directory contains algorithms and utilities for various cryptographic methods.

  • hmac/ — HMAC
  • mental_poker/ — mental poker: a deck dealt with no dealer
  • pow/ — Bitcoin-style proof-of-work (nBits target)
  • secp/ — secp256k1
  • sha1/ — SHA-1, for the object ids of today's Git repositories
  • sha2/ — SHA-2 family
  • sign/ — ECDSA / RFC6979 signing
  • vdf/ — Sloth verifiable delay function

Emergent Testing

Idle. Press Run to start the suite.

  • ./hmac/proof.f.mjs
  • ./mental_poker/proof.f.mjs
  • ./pow/proof.f.mjs
  • ./secp/proof.f.mjs
  • ./sha1/proof.f.mjs
  • ./sha2/proof.f.mjs
  • ./sign/nonce_reuse/proof.f.mjs
  • ./sign/proof.f.mjs
  • ./vdf/performance/proof.f.mjs
  • ./vdf/proof.f.mjs