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

#637 in Cryptography

Download history 139/week @ 2024-02-23 19/week @ 2024-03-01 7/week @ 2024-03-08 11/week @ 2024-03-15 34/week @ 2024-03-29 42/week @ 2024-04-19

76 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.9–2.7MB
~60K SLoC