• Generate Proof-of-Work(PoW) according to the algorithm used in mCaptcha

    Parameters

    • salt: string

      salt used in PoW computation. Will be provided in PoW requirement

    • phrase: string

      challenge phrase used in PoW computation. Will be provided in PoW requirement

    • difficulty: number

      target difficulty for which PoW should be generated. Will be provided in PoW requirement

    Returns Promise<WasmWork>

    • proof-of-work

Generated using TypeDoc