#serializable #struct #securely #encryption #enums

macro struct-box

Securely encrypt any serializable struct / enum

1 unstable release

0.1.0 Jul 10, 2024

#539 in Procedural macros

GPL-3.0-only

15KB

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/>.

Dependencies

~79KB