dicgen 0.4.8

Generate a list with all combinations for given characters, like in brute force attacks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::{error::Error, fmt::Display};

#[derive(Debug)]
pub enum DictionaryGeneratorError {
    AlphabetEmpty,
}

impl Display for DictionaryGeneratorError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            DictionaryGeneratorError::AlphabetEmpty => write!(f, "Alphabet is empty, then combinations can't be generated"),
        }
    }
}

impl Error for DictionaryGeneratorError {}