Enum miden_lib::AuthScheme
source · pub enum AuthScheme {
RpoFalcon512 {
pub_key: PublicKey,
},
}Expand description
Defines authentication schemes available to standard and faucet accounts.
Variants§
RpoFalcon512
A single-key authentication scheme which relies RPO Falcon512 signatures. RPO Falcon512 is a variant of the Falcon signature scheme. This variant differs from the standard in that instead of using SHAKE256 hash function in the hash-to-point algorithm we use RPO256. This makes the signature more efficient to verify in Miden VM.
Auto Trait Implementations§
impl Freeze for AuthScheme
impl RefUnwindSafe for AuthScheme
impl Send for AuthScheme
impl Sync for AuthScheme
impl Unpin for AuthScheme
impl UnwindSafe for AuthScheme
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