pub struct Plaintext {
pub sender_reply_pubkey_hybrid: [u8; 1216],
pub sender_fetch_key: [u8; 32],
pub msg: Vec<u8>,
}Expand description
Toy pt structure - TODO: provide params in correct order
Fields§
§sender_reply_pubkey_hybrid: [u8; 1216]Metadata key: $pk_S^{PKE}$ in the spec
sender_fetch_key: [u8; 32]Fetching key: $pk_S^{fetch}$ in the spec
msg: Vec<u8>Message
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plaintext
impl RefUnwindSafe for Plaintext
impl Send for Plaintext
impl Sync for Plaintext
impl Unpin for Plaintext
impl UnsafeUnpin for Plaintext
impl UnwindSafe for Plaintext
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