Skip to content

Commit 5ecafba

Browse files
Merge pull request filecoin-project#9 from filecoin-project/feat/hash-to-curve
feat: hash to curve, based on RFC
2 parents 52321bb + 6642dd7 commit 5ecafba

File tree

17 files changed

+10321
-5606
lines changed

17 files changed

+10321
-5606
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ serde = { version = "1.0", optional = true, features = ["derive"] }
2323
fff = { version = "0.2.0", features = ["derive"] }
2424
groupy = "0.3.0"
2525
rand_core = "0.5"
26+
hkdf = "0.8.0"
27+
sha2ni = "0.8.1"
2628

2729
[dev-dependencies]
2830
rand_xorshift = "0.2"
@@ -35,4 +37,3 @@ default = []
3537

3638
[badges]
3739
maintenance = { status = "actively-developed" }
38-

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2019-11-06
1+
nightly-2020-02-17

src/bls12_381/cofactors.rs

Lines changed: 796 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)