Docs.rs
decaf377-0.5.0
decaf377 0.5.0
Docs.rs crate page
MIT
OR
Apache-2.0
Links
crates.io
Source
Owners
hdevalence
cronokirby
redshiftzero
Dependencies
anyhow ^1.0
normal
ark-bls12-377 ^0.4
normal
ark-ec ^0.4
normal
ark-ed-on-bls12-377 ^0.4
normal
ark-ff ^0.4
normal
ark-groth16 ^0.4
normal
ark-r1cs-std ^0.4
normal
ark-relations ^0.4
normal
ark-serialize ^0.4
normal
ark-snark ^0.4
normal
ark-std ^0.4
normal
hex ^0.4
normal
num-bigint ^0.4
normal
once_cell ^1.8
normal
thiserror ^1
normal
tracing ^0.1
normal
tracing-subscriber ^0.2
normal
zeroize ^1.4
normal
criterion ^0.3
dev
proptest ^1
dev
rand_chacha ^0.3
dev
rand_core ^0.6.3
dev
Versions
50%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Fq
Trait Implementations
FieldExt
SqrtRatioZeta
In decaf377
?
Type Definition
decaf377
::
Fq
source
·
[
−
]
pub type Fq =
Fp
<
MontBackend
<
FrConfig
, 4>, 4>;
Trait Implementations
§
source
§
impl
FieldExt
for
Fq
source
§
fn
to_bytes
(&self) -> [
u8
;
32
]
Serializes an element to 32 bytes.
source
§
fn
from_bytes
(bytes: [
u8
;
32
]) ->
Result
<Self,
EncodingError
>
Deserializes an element from 32 bytes.
source
§
impl
SqrtRatioZeta
for
Fq
source
§
fn
sqrt_ratio_zeta
(num:
&Self
, den:
&Self
) -> (
bool
, Self)
Computes the square root of a ratio of field elements, returning:
Read more