product-os-security

Crates.ioproduct-os-security
lib.rsproduct-os-security
version0.0.28
sourcesrc
created_at2023-08-20 03:57:32.925366
updated_at2024-05-18 03:41:28.150003
descriptionProduct OS : Security provides a suite of helper tools to easily perform cryptograhpic operations including generating hashes, encrypting and decryting content.
homepage
repository
max_upload_size
id949134
size237,778
Jeremy (eremyjay)

documentation

README

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

GNU AGPLv3

Commit count: 0

cargo fmt