Jaco
f2f25815c1
Swap to upstream @noble/hashes ( #1285 )
...
* Swap to upstream `@noble/hashes`
* Lintin (import order)
2021-12-06 07:05:08 +02:00
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
b55cdb25f6
xxhash64 replacement ( #1220 )
...
* xxhash64 replacement
* yarn.lock
* hasBigInt check
* extract common
* lint fixes
* Dedupe
* flatten
* Update changes
* Update packages/util-crypto/src/xxhash/asU8a.spec.ts
* Remove useless assignment
* flatten
* combine intermediate vars
* Align var naming
* lint
* Remove unneeded inner conversions
* Update packages/util-crypto/src/xxhash/xxhash64.ts
* Adjust
* bitLength type
* BitLength type
* additional BitLength
* Small cleanups
* Adjust
* Adjust
* blak2 bitLength adjust
* with 384
* renames
* Adjust
* Adjust
* localize
* Comments
* format performance outputs
* format performance outputs
* isWasmOnly revert
2021-11-23 10:51:08 +02:00
Jaco
391ab49b8f
Adjust camelCase with simplified version ( #1230 )
...
* Adjust camelCase with simplified version
* Adjust count
* Adjust
* readability
* Ascii-only
* single-line callbacks
* CHANGELOG
* Dedupe string{Lower, Upper}First
* replacer -> fn
2021-11-22 16:12:29 +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
ba0a183bd9
Re-use pre-define BN_{BE, LE}_* constants ( #1175 )
...
* Re-use pre-define BN_{BE, LE}_* constants
* ordering update
* bnMax/bnMin opt
* u8aToHex flatten
2021-11-12 09:19:49 +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
f23418ad84
Cleanup exports ( #903 )
...
* Cleanup exports
* No buffer conversion on base 58
* Buffer conversion
2021-02-27 12:10:13 +01:00
Jaco Greeff
f0f0dec8ea
2021 ( #824 )
2021-01-03 11:20:22 +01:00
Jaco Greeff
b1a40516c1
Bump dev (import sorting) ( #789 )
2020-12-07 16:13:47 +01:00
Jaco Greeff
af71673c7b
import type ( #782 )
2020-12-01 13:24:37 +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
ce6f9d8bc8
Scrypt via wasm-crypto ( #647 )
...
* Scrypt via wasm-crypto
* Bump wasm-crypto
2020-08-05 16:07:38 +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