#key #duniter #dunitrust #cryptography #secure-random

dup-crypto

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

77 releases (breaking)

0.58.0 May 31, 2021
0.56.0 May 20, 2021
0.50.0 Mar 21, 2021
0.36.0 Dec 20, 2020
0.5.0 Nov 17, 2018

#6 in #duniter

Download history 9/week @ 2024-07-22 219/week @ 2024-07-29 18/week @ 2024-08-05 12/week @ 2024-08-12 8/week @ 2024-08-19 37/week @ 2024-08-26 6/week @ 2024-09-02 7/week @ 2024-09-09 8/week @ 2024-09-16 113/week @ 2024-09-23 5/week @ 2024-09-30 1/week @ 2024-10-07 17/week @ 2024-10-14 4/week @ 2024-10-21 7/week @ 2024-10-28 38/week @ 2024-11-04

66 downloads per month
Used in 10 crates (3 directly)

AGPL-3.0

280KB
5.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
  • Dubp-Mnemonic implementation.

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

~4.5–9.5MB
~208K SLoC