27 releases
0.0.28 | May 18, 2024 |
---|---|
0.0.27 | May 18, 2024 |
0.0.21 | Apr 21, 2024 |
0.0.16 | Dec 25, 2023 |
0.0.7 | Aug 21, 2023 |
#631 in Cryptography
248 downloads per month
Used in 20 crates
(15 directly)
240KB
4K
SLoC
Product OS : Security
Product OS : Security provides a suite of helper tools to easily perform cryptograhpic operations including generating hashes, encrypting and decryting content.
What is Product OS?
Product OS is a collection of packages that provide different tools and features that can work together to build products more easily for the Rust ecosystem.
Installation
Use the Rust crate package manager cargo to install Product OS : Security.
cargo add product-os-security
or add Product OS : Security to your cargo.toml [packages]
section.
product-os-security = { version = "0.0.28", features = [], default-features = true, optional = false }
Features
Product OS Security supports a number of features leveraging existing Rust libraries to help perform cryptographic operations including:
- Creating and verifying authentication requests
- Creating salted hashes
- Hex encoder and decoder
- Blake 2 Hash and MAC generator
- JWT token generator and claim manager
- JWT token verifier
- Certificate management
- Public and private key generator
- Public key signer and verifier
- Public and private key encryption and decryption
- Symmetric key encryption and decryption
- Diffie Hellman key management
- Secure key exchange using Diffie Hellman
- Time-based OTP generation
- Password hashing using Argon 2
- URI encoding and decoding for string safety
- Supports no_std with alloc only environments for most features
Note: the following features do not support no_std:
- jwt_encrypt_decrypt_std
- diffie_hellman_client_server_key_store
- public_private_encrypt_decrypt
- public_private_sign_verify
- certificates_openssl
- vendored-openssl
// Feature samples TODO
Usage
// Examples TODO
Contributing
Contributions are not currently available but will be available on a public repository soon.
License
Dependencies
~10–24MB
~704K SLoC