Skip to content

Commit

Permalink
Make scalar private
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Mar 17, 2024
1 parent 1a7aa56 commit 68b4510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ark-secret-scalar/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl<R: RngCore+CryptoRng> XofReader for Rng2Xof<R> {

#[repr(transparent)]
#[derive(Zeroize, Clone)]
pub struct SecretScalar<F: PrimeField>(pub F);
pub struct SecretScalar<F: PrimeField>(F);

impl<F: PrimeField> SecretScalar<F> {
/// Initialize and unbiased `SecretScalar` from a `XofReaader`.
Expand Down

0 comments on commit 68b4510

Please sign in to comment.