No description
ba83bd65c1
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.15.3. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.15.3) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
src | ||
static/third-party | ||
.eslintrc.js | ||
.gitignore | ||
jest.config.ts | ||
LICENSE_APACHE | ||
LICENSE_MIT | ||
package.json | ||
README.md | ||
tsconfig.json | ||
webpack.config.js | ||
yarn.lock |
Usage
To generate proof-of-work, per mCaptcha specification:
import {generate_proof} from "@mcaptcha/pow_sha256-polyfill";
let salt = "randomsaltvalueprovidedbymcaptcha";
let phrase = "randomphrasevalueprovidedbymcaptcha";
let difficulty = 50_000;
let work = await generate_proof(salt, phrase, difficulty);
Funding
NLnet
2023 development is funded through the NGI0 Entrust Fund, via NLnet. Please see here for more details.