Commit Graph
9 Commits
Author SHA1 Message Date
Jaco Greeff 8c6d2aea12 Only rely on wasm.js (no asm.js duplication) (#25)
* Only rely on wasm.js (no asm.js duplication)

* Add browser entry

* Make asm.js tests pass

* Remove (now-unsued) mock dep
2019-07-19 11:06:31 +02:00
Jaco Greeff 72d4ec56b5 Add asm.js generation with CRYPTO_ASM env var (#23)
* Add asm.js generation, import via index-asm.js

* Less sed-y, more babel-y

* Throw error when some failed

* CRYPTO_ASM env flag

* CHANGELOG
2019-07-18 15:38:50 +02:00
Jaco Greeff 2b637b079a Swap to eslint (#22)
* Swap to eslint

* Remove links to outdated packages

* Bump hex_literal to 0.2.0

* Bump version
2019-07-17 11:23:11 +02:00
Jaco Greeff f39b68f83d Add known signature tests (from subkey, actual values) (#20)
* Add know signing test (from subkey)

* Align sr25519 known sigs

* 0.10 (schnorrkel got a bump)
2019-05-09 15:18:44 +02:00
Jaco Greeff a1692ae1e6 Combine all crypto into a single package (#15)
* Combine all crypto into a single package

* Disable build for daled & schnrorrkel (combined)

* Bump @polkadot/dev (for publish)

* yarn.lock

* Fix CHANGELOG
2019-03-30 17:35:43 +01:00
Jaco Greeff 06f2e0eb31 add bip39ToSeed password param 2019-03-23 18:32:52 +01:00
Jaco Greeff 44c0553cae Add bip39ToSeed, add wasm-crypto (simple) usage (#10) 2019-03-23 17:51:39 +01:00
Jaco Greeff 4e6bf711ed Pull down binaries for binaryen (instead of building) (#9)
* Pull down binaries for binaryen (instead of building)

* Try x86 version

* Skeip build deps

* Try with a "stable" version?

* Extend crypto

* Use Xenial

* Cache binaryen

* dalek-ed25519 (WIP)

* Small test cleanups

* Revamp binaryen cache

* Update ed25519 tests

* Remove externals for sr & ed

* Test with --release
2019-03-22 10:07:22 +01:00
Jaco Greeff 9438234750 Add wasm-crypto package (just start, incomplete) (#3)
* Add wasm-crypto package (just start, incomplete)

* Update

* Merge master

* Headers

* Add sha512

* Add blake2b

* Add twox

* xxhash with multiple rounds

* Cleanup tests (non-async)

* Adjust signatures

* Doc comments

* schnorrkel 0.1.0 crate

* Simplify export names

* Bip39

* Updates, ext_* function exposure

* bip39 tested and working

* Re-add wasm optimisations

* Cleanup build script

* Auto-detect internal packages

* bip39ToMiniSecret
2019-03-20 10:09:40 +01:00