#aes #key-derivation #encryption-decryption #ec #import-export #web-crypto

webcryptobox

Convenient opiniated wrappers around OpenSSL to use WebCrypto compatible cryptography

9 stable releases

2.1.1 Feb 24, 2024
2.1.0 May 22, 2022
2.0.0 Mar 20, 2022
1.0.5 Mar 6, 2022

#540 in Cryptography

Download history 2/week @ 2024-06-29 24/week @ 2024-07-06 72/week @ 2024-07-27 1/week @ 2024-08-03 5/week @ 2024-09-21 48/week @ 2024-09-28

53 downloads per month
Used in wcb

Apache-2.0

20KB
174 lines

Webcryptobox

WebCrypto compatible encryption with Rust and its OpenSSL bindings.

This package implements the Webcryptobox encryption API.

Compatible packages:

There is also a CLI tool: wcb.

Convenient opinionated wrappers around OpenSSL to use WebCrypto compatible cryptography. Webcryptobox helps with elliptic curve key generation, derivation, fingerprinting, import and export as well as AES encryption and decryption.

Documentation: docs.rs/webcryptobox

Test

There's a test suite which ensures the lib works as expected. Run it with cargo:

cargo test

License

This package is licensed under the Apache 2.0 License.

© 2022 Johannes J. Schmidt

Dependencies

~1.8–2.6MB
~58K SLoC