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 168/week @ 2024-07-19 152/week @ 2024-07-26 151/week @ 2024-08-02 241/week @ 2024-08-09 240/week @ 2024-08-16 195/week @ 2024-08-23 261/week @ 2024-08-30 256/week @ 2024-09-06 208/week @ 2024-09-13 219/week @ 2024-09-20 163/week @ 2024-09-27 115/week @ 2024-10-04 148/week @ 2024-10-11 159/week @ 2024-10-18 176/week @ 2024-10-25 293/week @ 2024-11-01

789 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

~6MB
~135K SLoC