me.gosimple.nbvcxz.matching.match.SeparatorMatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nbvcxz Show documentation
Show all versions of nbvcxz Show documentation
Nbvcxz takes heavy inspiration from the zxcvbn library built by Dropbox, and in a lot of ways is
similar.
I built this library to be heavily extensible for every use case, with sane defaults.
package me.gosimple.nbvcxz.matching.match;
import me.gosimple.nbvcxz.resources.Configuration;
/**
* @author Adam Brusselback
*/
public final class SeparatorMatch extends BaseMatch
{
/**
* Create a new {@link SeparatorMatch}
*
* @param match the {@code String} we are creating the {@link SeparatorMatch} from.
* @param configuration the {@link Configuration} object.
* @param start_index the start index in the password for this match.
* @param end_index the end index in the password for this match.
*/
public SeparatorMatch(String match, Configuration configuration, int start_index, int end_index)
{
super(match, configuration, start_index, end_index);
super.setEntropy(LOG_10);
}
}