pub struct SteganographicEncoder { /* private fields */ }Expand description
Steganographic encoder (for server-side mask publishing)
Implementations§
Source§impl SteganographicEncoder
impl SteganographicEncoder
Sourcepub fn encode_for_dns(&self, mask: &MaskProfile) -> Result<String>
pub fn encode_for_dns(&self, mask: &MaskProfile) -> Result<String>
Encode mask for DNS TXT record
Sourcepub fn encode_for_image(&self, _mask: &MaskProfile) -> Result<Vec<u8>>
pub fn encode_for_image(&self, _mask: &MaskProfile) -> Result<Vec<u8>>
Encode mask for image LSB steganography.
Sourcepub fn encode_for_blockchain(&self, _mask: &MaskProfile) -> Result<Vec<u8>>
pub fn encode_for_blockchain(&self, _mask: &MaskProfile) -> Result<Vec<u8>>
Encode mask for blockchain OP_RETURN.
Auto Trait Implementations§
impl Freeze for SteganographicEncoder
impl RefUnwindSafe for SteganographicEncoder
impl Send for SteganographicEncoder
impl Sync for SteganographicEncoder
impl Unpin for SteganographicEncoder
impl UnsafeUnpin for SteganographicEncoder
impl UnwindSafe for SteganographicEncoder
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