expandSeed static method

void expandSeed(
  1. Uint8List outSeeds,
  2. Uint8List inSeed
)

Expands seed into WOTS private key

Implementation

static void expandSeed(Uint8List outSeeds, Uint8List inSeed) {
  for (int i = 0; i < WOTSLEN; i++) {
    final ctr = Uint8List(4);
    ctr.buffer.asByteData().setUint32(0, i, Endian.big);
    WOTSHash.prf(outSeeds, i * PARAMSN, ctr, inSeed);
  }
}