Split into @polkadot/x-noble-hashes (indicating diff from upstream) (#1268)

* Aplit @noble/hashes fork

* Re-add original (non-eslint)

* Original package imports in README

* package.json

* Update packages/x-noble-hashes/package.json

* CC ignore

* jest
This commit is contained in:
Jaco
2021-12-01 15:27:29 +02:00
committed by GitHub
parent 2104c50bd0
commit c8f0ad55c4
34 changed files with 79 additions and 49 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ import type { HexString } from '@polkadot/util/types';
import { hasBigInt, u8aToU8a } from '@polkadot/util';
import { isReady, pbkdf2 } from '@polkadot/wasm-crypto';
import { pbkdf2 as pbkdf2Js } from '@polkadot/x-noble-hashes/pbkdf2';
import { sha512 } from '@polkadot/x-noble-hashes/sha512';
import { pbkdf2 as pbkdf2Js } from '../noble-hashes/lib/pbkdf2';
import { sha512 } from '../noble-hashes/lib/sha512';
import { randomAsU8a } from '../random/asU8a';
interface Result {