#decryption #encryption #sign #verify #digest

crypto-ext

Set of cryptographic functions to encrypt, decrypt, sign, verify data

3 releases (1 stable)

9.0.0 Dec 25, 2022
0.0.2 Dec 24, 2022
0.0.1 Nov 10, 2022

#2065 in Cryptography

MIT OR Apache-2…

690KB
619 lines

Welcome to crypto-ext!

Hi, crypto-ext is a set of functionality providing easy and intuitive abstractions to encrypt, decrypt, sign and verify your data.

Features

  1. Asymmetric cryptography via RSA
  2. Symmetric cryptography via AES
  3. Digital signature via ECDSA
  4. Passphrase

Configuration

To run tests locally you need to create folders test/encryption_parameters and test/signature_parameters in project root folder.

Demo

Tests are available in the repository.

Documentation

Public functions definitions and usage can be found at docs.rs.

Crate

Link to crate release.

Build

If you want to build crypto-ext on your own, make sure you have Rust installed.

$ cargo build

Test

If you want to test crypto-ext.

$ cargo test

Examples

From documentation:

  1. Asymmetric encryption using public and private keys.
  2. Symmetric encryption using shared key and nonce.
  3. Electronic signature and verification.
  4. Generating random passphrase.

Community

Use GitHub discussions, issues and pull requests.

There is Rust Web Server Discord where you can ask questions and share ideas.

Follow the Rust code of conduct.

Donations

If you appreciate my work and want to support it, feel free to do it via PayPal.

  1. Rust Web Server
  2. Rust TLS Server
  3. http-to-https-letsencrypt
  4. Rust Web Framework
  5. Create Debian Package
  6. Create RPM Package
  7. Homebrew Formula
  8. file-ext

Dependencies

~5–9MB
~202K SLoC