[−][src]Struct sapling_crypto_ce::redjubjub::PrivateKey
Implementations
impl<E: JubjubEngine> PrivateKey<E>
[src]
pub fn randomize(&self, alpha: E::Fs) -> Self
[src]
pub fn read<R: Read>(reader: R) -> Result<Self>
[src]
pub fn write<W: Write>(&self, writer: W) -> Result<()>
[src]
pub fn sign<R: Rng>(
&self,
msg: &[u8],
rng: &mut R,
p_g: FixedGenerators,
params: &E::Params
) -> Signature
[src]
&self,
msg: &[u8],
rng: &mut R,
p_g: FixedGenerators,
params: &E::Params
) -> Signature
Auto Trait Implementations
impl<E> RefUnwindSafe for PrivateKey<E> where
<E as JubjubEngine>::Fs: RefUnwindSafe,
<E as JubjubEngine>::Fs: RefUnwindSafe,
impl<E> Send for PrivateKey<E> where
<E as JubjubEngine>::Fs: Send,
<E as JubjubEngine>::Fs: Send,
impl<E> Sync for PrivateKey<E> where
<E as JubjubEngine>::Fs: Sync,
<E as JubjubEngine>::Fs: Sync,
impl<E> Unpin for PrivateKey<E> where
<E as JubjubEngine>::Fs: Unpin,
<E as JubjubEngine>::Fs: Unpin,
impl<E> UnwindSafe for PrivateKey<E> where
<E as JubjubEngine>::Fs: UnwindSafe,
<E as JubjubEngine>::Fs: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,