Commit Graph
12 Commits
Author SHA1 Message Date
Jaco be4f3ce82c 2022 (#263)
* 2022

* Update scripts/rust-version.sh
2022-01-01 09:30:22 +02:00
Jaco 7689afb616 Add secp256k1 interfaces (#241)
* Add secp256k1 functions

* features for rand

* JS tests

* signing

* CHANGELOG

* Add secp256k1 seed
2021-12-02 14:19:33 +02:00
Steve DegosserieandGithub Actions b1752ad001 Expose Schnorrkel's VRF capabilities (#170)
* Expose vrf_sign_extra function from Schnorrkel

* Document function, code cleanup

* Added vrf_sign, vrf_verify, vrf_verify_extra functions.

* Expose VRF functions to js

Co-authored-by: Github Actions <action@github.com>
2021-01-17 16:16:14 +01:00
Jaco Greeff 1bb6db86f7 2021 (#167) 2021-01-03 11:20:26 +01:00
Jaco Greeff e2d0726608 Split js/wasm (#130)
* Split js/wasm

* require
2020-11-02 18:34:00 +01:00
Jaco Greeff 52c5a506ac SPDX (#114) 2020-09-17 16:13:19 +02:00
Jaco Greeff 1f4612bf32 Bump deps (#47) 2020-01-06 13:44:06 +01: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