#themelio #tmelcrypt #ed25519-sk

tmelcrypt

Collection of cryptographic utilities for Themelio

6 releases

0.2.7 Feb 24, 2023
0.2.6 Oct 31, 2022
0.2.4 Jan 14, 2022
0.2.3 Dec 16, 2021
0.1.0 May 29, 2021

#8 in #themelio

Download history 218/week @ 2024-12-09 179/week @ 2024-12-16 153/week @ 2024-12-23 87/week @ 2024-12-30 150/week @ 2025-01-06 151/week @ 2025-01-13 189/week @ 2025-01-20 81/week @ 2025-01-27 199/week @ 2025-02-03 186/week @ 2025-02-10 274/week @ 2025-02-17 342/week @ 2025-02-24 270/week @ 2025-03-03 415/week @ 2025-03-10 488/week @ 2025-03-17 555/week @ 2025-03-24

1,772 downloads per month
Used in 34 crates (28 directly)

ISC license

20KB
443 lines

TMelCrypt

Example Usage

use tmelcrypt::{ed25519_keygen, Ed25519PK, Ed25519SK};

let (public_key, secret_key): (Ed25519PK, Ed25519SK) = ed25519_keygen();

let message_byte_vector: Vec<u8> = vec![3];

let signature: Vec<u8> = secret_key.sign(&message_byte_vector);

let was_key_verified: bool = public_key.verify(&message_byte_vector, &signature);

assert_eq!(was_key_verified, true);

Dependencies

~6.5MB
~145K SLoC