Jaco
c8f0ad55c4
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
2021-12-01 15:27:29 +02:00
Jaco
eeb68c7e0f
Explicit inclusion (patch-package + bundled is problematic) ( #1250 )
...
* Explicit inclusion (patch-package + bundled is problematic)
* 8.0.2
2021-11-26 11:53:45 +02:00
Jaco
6688ff0a43
Use @noble/hashes ( #1188 )
...
* Use hashing functions from @noble/hashes
* Remove built-in pbkdf2
* Remove @types
* -19
* Remove @types
* Update packages/util-crypto/src/mnemonic/bip39.ts
* Align
* BigInt alignment
* hmac BigInt assert
* Legacy hmacSha
* Legacy fallbacks
* Align has
* Re-add micro-base
* remove old random inputs
* re-add @types/ed2curve
* Adjust pbkdf2
* Remove legacy (we have wasm)
* Update packages/util-crypto/src/detectPackage.ts
* Update packages/util-crypto/src/detectPackage.ts
* Ordering
* Comments
* Adjust
* Fix build
* cleanup legacySeed
2021-11-24 13:42:49 +02:00
Jaco
277c80eb96
Revery isWasmOnly helper ( #1229 )
...
* Revery isWasmOnly helper
* Adjust
2021-11-22 08:51:03 +02:00
Jaco
e8af9b5a1e
Add a helper for de-dupe of *AsHex ( #1224 )
...
* Add a helper for de-dupe of *AsHex
* Update packages/util-crypto/src/random/asU8a.ts
* lint
* isWasmOnly helper
* bit hasher
2021-11-21 20:21:20 +02:00
Jaco
2fcf59eeb0
Provide JS/Wasm interfaces for hmacShaAsU8a ( #1223 )
...
* Provide JS/Wasm interfaces for hmacShaAsU8a
* Adjust
* Re-add helpers
* Alignments
2021-11-21 08:54:54 +02:00
Jaco
7090c3daec
Re-use cleanups ( #1219 )
...
* Re-use cleanups
* linting
* Adjust
* Adjust
* ipfsCompat into if
* Adjust
2021-11-20 09:29:13 +02:00
Jaco
9fc57a23e8
Adjust isHex with template return ( #1103 )
...
* Adjust isHex with template return
* Unneeded assignment
* CHANGELOG
* typo
* Additional HexString types
* Additional HexString inputs
* Use U8aLike as applicable
* typo
* Unneeded type
* HexString outputs
* Export types
2021-09-08 14:38:53 +02:00
Jaco Greeff
f0f0dec8ea
2021 ( #824 )
2021-01-03 11:20:22 +01:00
Jaco Greeff
82b25aecfb
Replace pbkdf2 ( #758 )
...
* Replace pbkdf2
* Optional length
* cleanups
2020-11-08 21:34:34 +01:00
Jaco Greeff
68bcce7a27
Cleanup pbkdf2 use ( #757 )
2020-11-08 20:52:02 +01:00
Jaco Greeff
f07d66562b
Remove default exports ( #755 )
...
* Remove default exports
* Cleanup tests
* Exports in util
* Single secp256k1 instance
* Length check
* format check
* encoded lengths
2020-11-08 18:07:31 +01:00
Jaco Greeff
56a79924a0
SPDX ( #687 )
2020-09-17 16:13:39 +02:00
Jaco Greeff
0a6bd41444
Keyring JSON with kdf ( #637 )
...
* Keyring JSON with pbkdf2
* pbkdf2 from wasm
* Encode/decode defaults adjusted
* v2 decoding test
* Recode refreshes defaults
* Use scrypt for kdf
* test conversions
* Fix params
* Cleanup decoding pass
* Swap encoding to base64
* Update for base64 encoding
* 3.0.0
2020-07-21 08:17:46 +02:00