blackrock2 0.1.0

A rust port of the Blackrock2 cipher
Documentation

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}")
}