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

#7 in #themelio

Download history 235/week @ 2024-04-08 149/week @ 2024-04-15 168/week @ 2024-04-22 167/week @ 2024-04-29 159/week @ 2024-05-06 199/week @ 2024-05-13 163/week @ 2024-05-20 185/week @ 2024-05-27 134/week @ 2024-06-03 117/week @ 2024-06-10 126/week @ 2024-06-17 194/week @ 2024-06-24 139/week @ 2024-07-01 123/week @ 2024-07-08 173/week @ 2024-07-15 144/week @ 2024-07-22

604 downloads per month
Used in 32 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

~5.5MB
~130K SLoC