Jaco
5674b1df67
Bump deps w/ export ordering ( #1817 )
2023-04-26 12:29:21 +03:00
Jaco
211af1f999
Bump dev deps ( #1767 )
2023-03-17 07:22:49 +02:00
Jaco
79593b0a70
Bump dev ( #1766 )
...
* Bump dev
* Change ref types
2023-03-15 17:06:07 +02:00
Jaco
3fd61e678a
Bump dev ( #1761 )
...
* Bump dev
* Adjust dev/node/test/node.d.ts imports
* Adjust extensionless import
* Additional adjustments
2023-03-12 12:01:35 +02:00
Jaco
9c224f5076
Use .js imports in src ( #1756 )
...
* Use .js imports in src
* Revert node/test/node -> node/test/node.d.ts (for now)
* util-crypto
* Additional
* Adjust tsconfig aliases
* Bump dev
2023-03-09 11:04:03 +02:00
Jaco
0b85a4d5e2
Bump dev deps ( #1755 )
2023-03-06 14:17:56 +02:00
Jaco
3e2c3a6ed8
Move test cryptoWaitReady top-level ( #1747 )
...
* Move test cryptoWaitReady top-level
* Add missing mod.ts
* Revert mod.ts add
* Add types reference for tests
* Adjust
* adjust
* node:fs & node:path
2023-02-25 11:13:51 +02:00
Jaco
40dc599acc
Remove usage of {describe, it}.each ( #1746 )
...
* Remove usage of {describe, it}.each
* Bump dev
* Reference test types once per module
2023-02-24 10:10:07 +02:00
Jaco
f2afcfc1a7
Adjust internal character maps to operate on Uint8Array ( #1685 )
...
* Adjust internal character maps to operate on Uint8Array
* Use Uint8Array
* Actual perf testing
* Rename perf exports
* Expose specs in own tsconfig (circular)
2023-01-26 10:05:15 +02:00
Jaco
3fe6be655d
Update headers for 2023 ( #1697 )
2023-01-01 10:21:43 +02:00
Jaco
fa593ef1fc
Add /*#__PURE__*/ annotations ( #1684 )
2022-12-02 09:59:59 +02:00
Jaco
3597a4eb4e
2022 ( #1346 )
2022-01-01 09:26:11 +02:00
Jaco
d9d7200941
Bump deps (w/ @noble/hashes 0.5.x) ( #1332 )
2021-12-22 08:36:05 +02:00
Jaco
feae08fc0f
Adjust with tsconfig references ( #1317 )
...
* Adjust with tsconfig references
* tabs -> spaces
* Adjust
* Cleanup spacing
* Adjust
* eslint-specific config
* Bump deps
* Bumps
* Adjust
* Update tests
2021-12-14 08:23:16 +02:00
Jaco
17a9b653ac
Upstream @noble packages ( #1319 )
2021-12-13 18:07:48 +02:00
Jaco
7955022ce5
Helpers for 256/512 hashing ( #1303 )
...
* Helpers for 256/512 hashing
* Adjust u8aToU8a (u8a-only check earlier)
* Fix export
* Simplify
* revert
2021-12-09 10:10:51 +02:00
Jaco
b8edcb0e65
Revert package inclusion (re-add x-*) ( #1292 )
2021-12-07 17:37:06 +02:00
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
2ec02e2580
Combine sha256/512 into single top-level folder ( #1218 )
...
* Combine sha256/512 into single top-level folder
* linting
* imports
2021-11-19 17:46:49 +02:00