chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

BIN
vendor/sha1/tests/data/sha1.blb vendored Normal file

Binary file not shown.

15
vendor/sha1/tests/mod.rs vendored Normal file
View File

@@ -0,0 +1,15 @@
use digest::dev::{feed_rand_16mib, fixed_reset_test};
use hex_literal::hex;
use sha1::{Digest, Sha1};
digest::new_test!(sha1_main, "sha1", Sha1, fixed_reset_test);
#[test]
fn sha1_rand() {
let mut h = Sha1::new();
feed_rand_16mib(&mut h);
assert_eq!(
h.finalize()[..],
hex!("7e565a25a8b123e9881addbcedcd927b23377a78")[..]
);
}