#keys #cryptography #duniter #dunitrust

dup-crypto

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

39 releases (breaking)

new 0.32.2 Nov 26, 2020
0.31.0 Nov 16, 2020
0.18.0 Jun 27, 2020
0.13.0 Mar 4, 2020
0.5.0 Nov 17, 2018

#167 in Cryptography

Download history 52/week @ 2020-08-07 9/week @ 2020-08-14 61/week @ 2020-08-21 89/week @ 2020-08-28 123/week @ 2020-09-04 82/week @ 2020-09-11 6/week @ 2020-09-18 87/week @ 2020-09-25 144/week @ 2020-10-02 117/week @ 2020-10-09 81/week @ 2020-10-16 16/week @ 2020-10-23 24/week @ 2020-10-30 83/week @ 2020-11-06 56/week @ 2020-11-13 46/week @ 2020-11-20

321 downloads per month
Used in 8 crates (3 directly)

AGPL-3.0

250KB
4.5K SLoC

DUP Crypto

crates.io docs 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.

Dependencies

~1–4.5MB
~105K SLoC