6 * crypto/shachain - compactly-representable chain of 256-bit numbers.
8 * This code produces a practically infinite (2^64) chain of 256-bit numbers
9 * from a single number, such that you can't derive element N from any element
10 * less than N, but can efficiently derive element N from a limited number
14 * Author: Rusty Russell <rusty@rustcorp.com.au>
16 int main(int argc, char *argv[])
18 /* Expect exactly one argument */
22 if (strcmp(argv[1], "depends") == 0) {
23 printf("ccan/ilog\n");
24 printf("ccan/crypto/sha256\n");