mpalmer / struct-box

Encrypt any serializable Rust data structure easily and securely

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This crate provides a derive macro to add encryption/decryption functionality to any serializable struct. It is built on top of strong-box, which means you get safe, fast, and modern cryptography without compromising on useability.

See the docs for usage instructions (it's designed to be as simple as possible).

MSRV

Specified in Cargo.toml. Bumping is a breaking change.

Licence

Unless otherwise stated, everything in this repo is covered by the following copyright notice:

    Copyright (C) 2024  Matt Palmer <matt@hezmatt.org>

    This program is free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License version 3, as
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

Encrypt any serializable Rust data structure easily and securely

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%