#key #duniter #dunitrust #random #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

#4 in #duniter

Download history 10/week @ 2024-01-08 8/week @ 2024-01-15 4/week @ 2024-02-05 9/week @ 2024-02-12 25/week @ 2024-02-19 38/week @ 2024-02-26 15/week @ 2024-03-04 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

118 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
~199K SLoC