fogor cargo, unit test

This commit is contained in:
Neemek 2025-10-09 21:51:14 +02:00
parent 9d0de8eb96
commit c7b4502db0
3 changed files with 300 additions and 0 deletions

10
tests/chacha.rs Normal file
View file

@ -0,0 +1,10 @@
use chacha::do_chacha;
#[test]
fn do_some_chacha() {
let data = b"Hello world!";
let data = do_chacha(data, &[69u8; 32], [420u32; 3], 0, 20);
println!("{:?}", data);
}