Crates.io | struct-box |
lib.rs | struct-box |
version | 0.1.0 |
source | src |
created_at | 2024-07-10 08:38:13.974533 |
updated_at | 2024-07-10 08:38:13.974533 |
description | Securely encrypt any serializable struct / enum |
homepage | https://github.com/mpalmer/struct-box |
repository | https://github.com/mpalmer/struct-box |
max_upload_size | |
id | 1297987 |
size | 41,269 |
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).
Specified in Cargo.toml
.
Bumping is a breaking change.
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/>.