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

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 22/week @ 2024-03-11 28/week @ 2024-03-18 13/week @ 2024-03-25 71/week @ 2024-04-01 12/week @ 2024-04-08 22/week @ 2024-04-15 19/week @ 2024-04-22 17/week @ 2024-04-29 29/week @ 2024-05-06 14/week @ 2024-05-13 29/week @ 2024-05-20 14/week @ 2024-05-27 15/week @ 2024-06-03 19/week @ 2024-06-10 10/week @ 2024-06-17 27/week @ 2024-06-24

71 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–9MB
~200K SLoC