Skip to content

Cryptographic toolkit for DUBP and DUNP protocols. THIS IS A MIRROR REPOSITORY. Official repository is here: https://git.duniter.org/libs/dup-crypto-rs

License

Notifications You must be signed in to change notification settings

duniter/dup-crypto-rs

Repository files navigation

DUP Crypto

ci crates.io docs codecov dependency status Minimum rustc version

Manage cryptographic operations for DUniter Protocols and the Duniter eco-system most broadly.

DUP means DUniter Protocols.

(1): DUniter Blockchain Protocol
(2): DUniter Network Protocol

Features

  • Rust traits to implement to any entity that can be signed.
  • Base 16/58/64 encoding/decoding
  • Sha256 hash function
  • Secure random byte generation
  • Scrypt to generate seed from credentials.
  • Ed25519 functions to create and use ed25519 keypair.
  • DEWIF format read/write

Documentation

Generated documentation : https://docs.rs/dup-crypto

This documentation contains examples of code whose validity is assured (all code in the documentation is compiled on continuous integration).

Support

If this library serves you well, you can make a donation on my Ğ1 public key D9D2zaJoWYWveii1JRYLVK3J4Z7ZH3QczoKrnQeiM6mx.

About

Cryptographic toolkit for DUBP and DUNP protocols. THIS IS A MIRROR REPOSITORY. Official repository is here: https://git.duniter.org/libs/dup-crypto-rs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages