Crates.io | pwbox |
lib.rs | pwbox |
version | 0.5.0 |
source | src |
created_at | 2018-12-04 09:51:48.253237 |
updated_at | 2022-01-23 13:56:57.571427 |
description | Modular password-based encryption |
homepage | |
repository | https://github.com/exonum/pwbox-rs |
max_upload_size | |
id | 99991 |
size | 142,328 |
pwbox
crate provides utilities for password-based encryption together with
corresponding composable cryptographic primitives. Using the crate, it is
possible to securely encrypt sensitive data with a password, serialize it
to any serde
-supported format, and restore data.
Warning. Although pwbox
is constructed analogously to an Ethereum keystore
(and is compatible with it, see crate docs), no independent cryptology expertise has been conducted
regarding its safety. Use at your own risk.
Add this to your Crate.toml
:
[dependencies]
pwbox = "0.5.0"
See crate documentation for more details how to use the crate.
std
(enabled by default): Enables types from the Rust standard library. Switching
this feature off can be used for constrained environments, such as WASM. Note that
the crate still requires an allocator (that is, the alloc
crate) even
if the std
feature is disabled.exonum_sodiumoxide
(enabled by default), rust-crypto
, pure
(both disabled by default):
Provide the cryptographic backends.pwbox
is licensed under the Apache License (Version 2.0). See LICENSE for details.