passay-rs 0.1.0

A password validation library inspired by the Java Passay library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// It's not seem safe to implement
// TODO If implemented add this trait to it to mark it as Dictionary for entropy
// add this to Rule trait impl
//     fn as_dictionary_rule<'a>(&'a self) -> Option<&'a dyn DictionaryRuleTrait> {
//         Some(self)
//     }
////////
// impl<D: Dictionary> DictionaryRuleTrait for DigestDictionaryRule<D> {
//     fn dictionary(&self) -> &dyn Dictionary {
//         &self.dictionary
//     }
// }