Fix typos
This commit is contained in:
parent
0a271c1748
commit
fba11278b3
|
@ -241,7 +241,7 @@ fn verify_share(share: &Share) -> Result<(), &'static str> {
|
||||||
/// commitments to those shares.
|
/// commitments to those shares.
|
||||||
///
|
///
|
||||||
/// More specifically, [`generate_shares`]:
|
/// More specifically, [`generate_shares`]:
|
||||||
/// - Randomly samples of coefficents [a, b, c], this represents a secret
|
/// - Randomly samples of coefficients [a, b, c], this represents a secret
|
||||||
/// polynomial f
|
/// polynomial f
|
||||||
/// - For each participant i, their secret share is f(i)
|
/// - For each participant i, their secret share is f(i)
|
||||||
/// - The commitment to the secret polynomial f is [g^a, g^b, g^c]
|
/// - The commitment to the secret polynomial f is [g^a, g^b, g^c]
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
An implementation of Schnorr sigantures on the Ristretto group for both single and threshold numbers
|
An implementation of Schnorr signatures on the Ristretto group for both single and threshold numbers
|
||||||
of signers (FROST).
|
of signers (FROST).
|
||||||
|
|
||||||
In addition to the `Signature`, `SigningKey`, `VerificationKey` types, the library also provides
|
In addition to the `Signature`, `SigningKey`, `VerificationKey` types, the library also provides
|
||||||
`VerificationKeyBytes`, a [refinement] of a `[u8; 32]` indicating that bytes represent an encoding
|
`VerificationKeyBytes`, a [refinement] of a `[u8; 32]` indicating that bytes represent an encoding
|
||||||
of averification key. This allows the `VerificationKey` type to cache verification checks related to
|
of a verification key. This allows the `VerificationKey` type to cache verification checks related to
|
||||||
the verification key encoding.
|
the verification key encoding.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
|
@ -243,7 +243,7 @@ fn verify_secret_share(secret_share: &SecretShare) -> Result<(), &'static str> {
|
||||||
/// commitments to those shares.
|
/// commitments to those shares.
|
||||||
///
|
///
|
||||||
/// More specifically, [`generate_secret_shares`]:
|
/// More specifically, [`generate_secret_shares`]:
|
||||||
/// - Randomly samples of coefficents [a, b, c], this represents a secret
|
/// - Randomly samples of coefficients [a, b, c], this represents a secret
|
||||||
/// polynomial f
|
/// polynomial f
|
||||||
/// - For each participant i, their secret share is f(i)
|
/// - For each participant i, their secret share is f(i)
|
||||||
/// - The commitment to the secret polynomial f is [g^a, g^b, g^c]
|
/// - The commitment to the secret polynomial f is [g^a, g^b, g^c]
|
||||||
|
|
Loading…
Reference in New Issue