pub struct Falcon512;Expand description
Falcon-512 signature scheme
Trait Implementations§
Source§impl Signature for Falcon512
impl Signature for Falcon512
Source§type PublicKey = FalconPublicKey
type PublicKey = FalconPublicKey
Public key type for this algorithm
Source§type SecretKey = FalconSecretKey
type SecretKey = FalconSecretKey
Secret key type - must be zeroizable but not byte-accessible Read more
Source§type SignatureData = FalconSignature
type SignatureData = FalconSignature
Signature data type
Source§type KeyPair = (<Falcon512 as Signature>::PublicKey, <Falcon512 as Signature>::SecretKey)
type KeyPair = (<Falcon512 as Signature>::PublicKey, <Falcon512 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 Falcon512
impl RefUnwindSafe for Falcon512
impl Send for Falcon512
impl Sync for Falcon512
impl Unpin for Falcon512
impl UnsafeUnpin for Falcon512
impl UnwindSafe for Falcon512
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