1 unstable release
0.1.0 | Sep 6, 2024 |
---|
#1691 in Cryptography
12KB
279 lines
A port of the Blackrock2 cipher used in Masscan to Rust. Its original purpose is efficiently randomizing the order of port scans without having to put every possible target in memory and shuffling. Original code.
Examples
use blackrock2::BlackRockIpGenerator;
for ip in BlackRockIpGenerator::new() {
println!("{ip}")
}
lib.rs
:
A port of the Blackrock2 cipher used in Masscan to Rust.
Its original purpose is efficiently randomizing the order of port scans without having to put every possible target in memory and shuffling.
Examples
use blackrock2::BlackRockIpGenerator;
for ip in BlackRockIpGenerator::new() {
println!("{ip}")
}
Dependencies
~1.5MB
~19K SLoC