#encryption #primitive #modern #libsodium #strong #misuse-resistant

strong-box

Strong, ergonomic encryption for non-cryptographers

4 releases (breaking)

0.4.0 Jul 10, 2024
0.3.0 Jul 5, 2024
0.2.0 Jun 25, 2024
0.1.0 Jun 12, 2024

#613 in Cryptography

Download history 59/week @ 2024-07-26 40/week @ 2024-08-02 41/week @ 2024-08-09 41/week @ 2024-08-16 44/week @ 2024-08-23 49/week @ 2024-08-30 46/week @ 2024-09-06 67/week @ 2024-09-13 59/week @ 2024-09-20 73/week @ 2024-09-27 51/week @ 2024-10-04 47/week @ 2024-10-11 46/week @ 2024-10-18 37/week @ 2024-10-25 47/week @ 2024-11-01 24/week @ 2024-11-08

161 downloads per month
Used in 3 crates (2 directly)

GPL-3.0-only

58KB
1K SLoC

This crate provides safe, ergonomic encryption "boxes" for storing data you'd prefer not to have exposed to the world. It uses modern, fast cryptography in misuse-resistant ways.

Its spiritual ancestor is NaCl / libsodium, and uses many of the same cryptographic primitives, but is not at all compatible with them.

See the docs for all the gory details.

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

~4–10MB
~111K SLoC