#elliptic-curve #aes #key-derivation

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

#829 in Cryptography


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.7MB
~62K SLoC