pub struct RainbowI;Expand description
Rainbow-I signature scheme
Trait Implementations§
Source§impl Signature for RainbowI
impl Signature for RainbowI
Source§type PublicKey = RainbowPublicKey
type PublicKey = RainbowPublicKey
Public key type for this algorithm
Source§type SecretKey = RainbowSecretKey
type SecretKey = RainbowSecretKey
Secret key type - must be zeroizable but not byte-accessible Read more
Source§type SignatureData = RainbowSignature
type SignatureData = RainbowSignature
Signature data type
Source§type KeyPair = (<RainbowI as Signature>::PublicKey, <RainbowI as Signature>::SecretKey)
type KeyPair = (<RainbowI as Signature>::PublicKey, <RainbowI as Signature>::SecretKey)
Key pair type (typically a tuple of public and secret keys)
Source§fn keypair<R: CryptoRng + RngCore>(_rng: &mut R) -> Result<Self::KeyPair>
fn keypair<R: CryptoRng + RngCore>(_rng: &mut R) -> Result<Self::KeyPair>
Generate a new key pair using the provided RNG Read more
Source§fn public_key(keypair: &Self::KeyPair) -> Self::PublicKey
fn public_key(keypair: &Self::KeyPair) -> Self::PublicKey
Extract the public key from a key pair
Source§fn secret_key(keypair: &Self::KeyPair) -> Self::SecretKey
fn secret_key(keypair: &Self::KeyPair) -> Self::SecretKey
Extract the secret key from a key pair
Auto Trait Implementations§
impl Freeze for RainbowI
impl RefUnwindSafe for RainbowI
impl Send for RainbowI
impl Sync for RainbowI
impl Unpin for RainbowI
impl UnwindSafe for RainbowI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more