fedimint_server::config::io

Function encrypted_json_write

source
fn encrypted_json_write<T: Serialize + DeserializeOwned>(
    obj: &T,
    key: &LessSafeKey,
    path: &Path,
) -> Result<()>
Expand description

Writes struct into an encrypted json file