pub struct Seal {
pub h1: [u8; 32],
pub h2: [u8; 32],
pub h3: [u8; 32],
pub signature: [u8; 64],
pub public_key: [u8; 32],
}Expand description
The cryptographic seal binding all evidence together.
Fields§
§h1: [u8; 32]H1: SHA-256(doc || checkpoint_root || declaration)
h2: [u8; 32]H2: SHA-256(H1 || jitter || pubkey)
h3: [u8; 32]H3: SHA-256(H2 || vdf_output || doc)
signature: [u8; 64]H4: Ed25519 signature of H3
public_key: [u8; 32]Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Seal
impl<'de> Deserialize<'de> for Seal
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Seal
impl RefUnwindSafe for Seal
impl Send for Seal
impl Sync for Seal
impl Unpin for Seal
impl UnsafeUnpin for Seal
impl UnwindSafe for Seal
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