#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

#677 in Cryptography

Download history 38/week @ 2024-08-19 53/week @ 2024-08-26 44/week @ 2024-09-02 44/week @ 2024-09-09 69/week @ 2024-09-16 58/week @ 2024-09-23 76/week @ 2024-09-30 50/week @ 2024-10-07 42/week @ 2024-10-14 46/week @ 2024-10-21 41/week @ 2024-10-28 42/week @ 2024-11-04 40/week @ 2024-11-11 49/week @ 2024-11-18 49/week @ 2024-11-25 47/week @ 2024-12-02

190 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
~112K SLoC