pub struct SignCrypt {
pub ciphertext: Vec<u8>,
pub sig: [u8; 64],
pub nonce: [u8; 12],
pub curve: Curve,
}
Expand description
Data structure containing the ciphertext, signature and additional data
Fields§
§ciphertext: Vec<u8>
§sig: [u8; 64]
§nonce: [u8; 12]
§curve: Curve
Trait Implementations§
impl Eq for SignCrypt
impl StructuralPartialEq for SignCrypt
Auto Trait Implementations§
impl Freeze for SignCrypt
impl RefUnwindSafe for SignCrypt
impl Send for SignCrypt
impl Sync for SignCrypt
impl Unpin for SignCrypt
impl UnwindSafe for SignCrypt
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