Password Matcher Password Matcher
Password Matcher Password Matcher
DocFX + Singulink = ♥

Search Results for

    Class CharSequenceMatcher

    Matcher that matches sequences of characters that are adjacent on a keyboard or keypad or consecutive in the alphabet, such as "qwerty", "zaq1", "!@#$", "1q2w3e4r", "7410" or "abcdef".

    Inheritance
    object
    PasswordMatcher
    ValueMatcher
    CharSequenceMatcher
    Inherited Members
    ValueMatcher.Separators
    ValueMatcher.MatchTrailingSeparator
    ValueMatcher.MatchRepeats
    PasswordMatcher.GetMatches(PasswordMatchContext)
    PasswordMatcher.GetFirstMatch(string, IEnumerable<PasswordMatcher>)
    PasswordMatcher.Any(IEnumerable<PasswordMatcher>)
    PasswordMatcher.AnyChars(int, int, Func<char, bool>, bool)
    PasswordMatcher.CharSequence(CharSequenceTypes, bool)
    PasswordMatcher.FixedDigits(int, PasswordMatchType, bool, bool)
    PasswordMatcher.FixedDigits(int, int, int, PasswordMatchType, bool, bool)
    PasswordMatcher.Optional(PasswordMatcher)
    PasswordMatcher.Permutations(IEnumerable<PasswordMatcher>, bool)
    PasswordMatcher.Repeat(PasswordMatcher, int, int)
    PasswordMatcher.RepeatedChars(Func<char, bool>, bool)
    PasswordMatcher.RepeatedChars(int, int, Func<char, bool>, bool)
    PasswordMatcher.RepeatedGroups(int, int, int, Func<char, bool>, bool)
    PasswordMatcher.Text(string, PasswordMatchType, bool, bool, bool)
    PasswordMatcher.Sequence(IEnumerable<PasswordMatcher>)
    Namespace: Singulink.Cryptography.PasswordMatchers
    Assembly: Singulink.Cryptography.PasswordMatcher.dll
    Syntax
    public sealed class CharSequenceMatcher : ValueMatcher
    Remarks

    Sequences are matched in both directions along each line of characters, and keyboard sequences are also matched with the shift key held. A sequence must be at least MinSequenceLength characters long. The longest sequence is matched first.

    Constructors

    Name Description
    CharSequenceMatcher(CharSequenceTypes, bool)

    Initializes a new instance of the CharSequenceMatcher class.

    Fields

    Name Description
    Alphabet

    The letters of the alphabet, in order.

    MinSequenceLength

    The minimum number of characters in a sequence.

    Properties

    Name Description
    SequenceTypes

    Gets the types of sequences that are matched.

    Methods

    Name Description
    GetValueMatches(PasswordMatchContext)

    Gets the contexts that result from matching the value at the current position of the given context, in the order they should be tried. Repeats and trailing separators do not need to be handled by the implementation.

    © Singulink. All rights reserved.