#crypto #ec #aes #web-crypto

webcryptobox

Convenient opiniated wrappers around OpenSSL to use WebCrypto compatible cryptography

8 stable releases

Uses new Rust 2021

2.1.0 May 22, 2022
2.0.0 Mar 20, 2022
1.0.5 Mar 6, 2022

#489 in Cryptography

38 downloads per month
Used in wcb

Apache-2.0

19KB
175 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.5–2.2MB
~49K SLoC