0.1.9 • Published 2 years ago

sha256-pow-bundler v0.1.9

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

sha256-pow

import init, { mine, verify } from 'https://deno.land/x/sha256pow@0.1.0/sha256_pow.js';

await init();

const target = "00000021e800000000000000000000000000000000000000000000000000000";

const powBuffer = new TextEncoder().encode("Hello, PoW!");

const pow = await mine(powBuffer, target);

console.log("Can verify PoW?", verify(pow, target));
0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago