pub struct RainbowV;Expand description
Rainbow-V signature scheme
Trait Implementations§
Source§impl Signature for RainbowV
impl Signature for RainbowV
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 = (<RainbowV as Signature>::PublicKey, <RainbowV as Signature>::SecretKey)
type KeyPair = (<RainbowV as Signature>::PublicKey, <RainbowV 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 RainbowV
impl RefUnwindSafe for RainbowV
impl Send for RainbowV
impl Sync for RainbowV
impl Unpin for RainbowV
impl UnwindSafe for RainbowV
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