Skip to content

Instantly share code, notes, and snippets.

@conduition
conduition / README.md
Last active November 19, 2025 00:19
SLH-DSA parameters search script

SLH-DSA Parameter Search

A python port of the SPHINCS+ team's outdated parameter exploration script available here.

This revised version of the script uses the same math, but improves on ergonomics:

  • ✅ works out of the box on any machine with a python3 runtime
  • ✅ uses no dependencies
  • ✅ runs faster than the default script
  • ✅ provides additional CLI-driven filtering options
@conduition
conduition / winternitz.ts
Last active July 8, 2025 07:03
WInternitz One-time Signatures on Bitcoin using OP_CAT
// input witness stack:
// <h1> <b1>
// ...
// <h64> <b64>
// <ec_signature>
OP_DUP OP_TOALTSTACK // copy EC signature to alt stack
<G> OP_CHECKSIGVERIFY // verify EC signature matches TX