Skip to content

Commit

Permalink
feat: update for hash-to-curve-07
Browse files Browse the repository at this point in the history
Closes #26
  • Loading branch information
dignifiedquire authored Apr 30, 2020
1 parent 757687e commit 4966001
Show file tree
Hide file tree
Showing 7 changed files with 1,155 additions and 78 deletions.
144 changes: 83 additions & 61 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pro-release-commit-message = "chore(release): starting development cycle for {{n
[dependencies]
ff = { version = "0.2", package = "fff" }
groupy = "0.3.0"
paired = "0.18.0"
paired = "0.19.0"
rayon = "1"
rand_core = "0.5.1"
thiserror = "1.0"
Expand All @@ -36,5 +36,9 @@ default = []
[dev-dependencies]
rand_xorshift = "0.2.0"
rand = "0.7"
hex = "0.4.2"
base64 = "0.12.0"
serde = { version = "1.0.106", features = ["derive"] }
serde_json = "1.0.52"
base64-serde = "0.5.1"


2 changes: 2 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ pub enum Error {
GroupDecode(#[from] groupy::GroupDecodingError),
#[error("Prime field decode error: {0}")]
FieldDecode(#[from] ff::PrimeFieldDecodingError),
#[error("Invalid Private Key")]
InvalidPrivateKey,
}
Loading

0 comments on commit 4966001

Please sign in to comment.