pub struct ECCEncryptedData {
pub ec_x: [u8; 64],
pub ec_y: [u8; 64],
pub hash: HASH256,
pub cipher: Vec<u8>,
}
Expand description
ECC encrypt output,Wrapper of DST ECCCipherBlob
Fields§
§ec_x: [u8; 64]
§ec_y: [u8; 64]
§hash: HASH256
§cipher: Vec<u8>
Implementations§
Source§impl ECCEncryptedData
impl ECCEncryptedData
Sourcepub fn blob_bytes(&self) -> Vec<u8> ⓘ
pub fn blob_bytes(&self) -> Vec<u8> ⓘ
Convert to bytes of ECCCipherBlob
Trait Implementations§
Source§impl Debug for ECCEncryptedData
impl Debug for ECCEncryptedData
Auto Trait Implementations§
impl Freeze for ECCEncryptedData
impl RefUnwindSafe for ECCEncryptedData
impl Send for ECCEncryptedData
impl Sync for ECCEncryptedData
impl Unpin for ECCEncryptedData
impl UnwindSafe for ECCEncryptedData
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