---
name: "Data::Password::zxcvbn::Match::Sequence"
section: "3pm"
platform: "linux"
package: "libdata-password-zxcvbn-perl"
version: "1.1.2-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Data::Password::zxcvbn::Match::Sequence"
---

# Data::Password::zxcvbn::Match::Sequence(3pm)

match class for sequences of uniformly-spaced codepoints

## NAME

Data::Password::zxcvbn::Match::Sequence - match class for sequences of uniformly-spaced codepoints

## VERSION

version 1.1.2

## DESCRIPTION

This class represents the guess that a certain substring of a password, consisting of uniformly-spaced codepoints, is easy to guess.

## ATTRIBUTES

### "ascending"

Boolean, true if the sequence starts at a lower codepoint and ends at a higher one (e.g. `"acegi"` is ascending, `86420` is not).

## METHODS

### "estimate\_guesses"

The number of guesses is *linear* with the length of the sequence. Descending sequences get a higher estimate, sequences that start at obvious points (e.g. `"A"` or `1`) get lower estimates.

### "feedback\_warning"

### "feedback\_suggestions"

This class suggests not using sequences.

### "make"

```
  my @matches = @{ Data::Password::zxcvbn::Match::Sequence->make(
    $password,
  ) };
```

Scans the `$password` for sequences of characters whose codepoints increase or decrease by a constant.

### "fields\_for\_json"

The JSON serialisation for matches of this class will contain `"token` `i j guesses guesses_log10 ascending"`.

## AUTHOR

Gianni Ceccarelli \<gianni.ceccarelli@broadbean.com\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by BroadBean UK, a CareerBuilder Company.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
