[][src]Function libbruteforce::crack

pub fn crack(
    target: String,
    alphabet: Box<[char]>,
    max_length: usize,
    transform_fn: TransformationFn
) -> Option<String>

This function starts a multithreaded brute force attack on a given target string. It supports any alphabet you want to use. You must provide a transformation function. There is a pre-build set of transformation functions available, such as transformation_fns::NO_HASHING, or transformation_fns::SHA256. You can also provide your own function if it is compatible with transformation_fns::TransformationFn.