| 26 | )] |
| 27 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] |
| 28 | pub 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)] |
no outgoing calls