MCPcopy Create free account
hub / github.com/docknetwork/crypto / SecretKey

Class SecretKey

saver/src/keygen.rs:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26)]
27#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
28pub struct SecretKey<F: PrimeField>(
29 #[cfg_attr(feature = "serde", serde_as(as = "ArkObjectBytes"))] pub F,
30);
31
32/// Used to encrypt, rerandomize and verify the encryption. Called "PK" in the paper.
33#[cfg_attr(feature = "serde", cfg_eval::cfg_eval, serde_with::serde_as)]

Callers 3

keygenFunction · 0.70
secret_key_validationFunction · 0.50

Calls

no outgoing calls

Tested by 1

secret_key_validationFunction · 0.40