#[cfg(target_arch = "wasm32")]
use wasm_bindgen::prelude::*;
#[cfg_attr(target_arch = "wasm32", wasm_bindgen(getter_with_clone))]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct EncappedKeyAndCiphertext {
pub encapped_key: Vec<u8>,
pub ciphertext: Vec<u8>,
}
impl EncappedKeyAndCiphertext {
#[must_use]
pub fn into_parts(self) -> (Vec<u8>, Vec<u8>) {
(self.encapped_key, self.ciphertext)
}
}