Struct cryptid::shuffle::Shuffle [−][src]
pub struct Shuffle { /* fields omitted */ }
Implementations
impl Shuffle
[src]
impl Shuffle
[src]pub fn new<R: Rng + CryptoRng>(
rng: &mut R,
inputs: Vec<Vec<Ciphertext>>,
pubkey: &PublicKey
) -> Result<Self, CryptoError>
[src]
rng: &mut R,
inputs: Vec<Vec<Ciphertext>>,
pubkey: &PublicKey
) -> Result<Self, CryptoError>
pub fn inputs(&self) -> &[Vec<Ciphertext>]
[src]
pub fn outputs(&self) -> &[Vec<Ciphertext>]
[src]
pub fn into_outputs(self) -> Vec<Vec<Ciphertext>>
[src]
pub fn gen_proof<R: Rng + CryptoRng>(
&self,
rng: &mut R,
commit_ctx: &PedersenCtx,
generators: &[CurveElem],
pubkey: &PublicKey
) -> Result<ShuffleProof, CryptoError>
[src]
&self,
rng: &mut R,
commit_ctx: &PedersenCtx,
generators: &[CurveElem],
pubkey: &PublicKey
) -> Result<ShuffleProof, CryptoError>
Trait Implementations
impl Eq for Shuffle
[src]
impl StructuralEq for Shuffle
[src]
impl StructuralPartialEq for Shuffle
[src]
Auto Trait Implementations
impl RefUnwindSafe for Shuffle
impl Send for Shuffle
impl Sync for Shuffle
impl Unpin for Shuffle
impl UnwindSafe for Shuffle
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
[src]
impl<T> Pointable for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more