keyhive_wasm 0.3.0

WebAssembly wrappers for keyhive_core
Documentation
1
2
3
4
5
6
7
use derive_more::{From, Into};
use keyhive_crypto::share_key::ShareKey;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(js_name = ShareKey)]
#[derive(Debug, Clone, Copy, Into, From)]
pub struct JsShareKey(pub(crate) ShareKey);