Bitcoin, Bitcoin Sv, Quantum Computing, Smart Contracts.
this.pubKey = pubKey } @method() public unlock(sig: LamportSig) { const m = byteString2Int(hash256(this.ctx.serialize())) // Loop over each bit of the hash. for (let i = 0; i < 256; i++) { let offset = 0n if (and(lshift(m, BigInt(i)), 1n) == 0n) { offset = 256n * 32n } const start = BigInt(i) * 32n