#aes #ec #encryption-decryption #import-export #wrapper #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

#622 in Cryptography

Download history 124/week @ 2024-02-21 33/week @ 2024-02-28 7/week @ 2024-03-06 12/week @ 2024-03-13

176 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
~59K SLoC