Giter VIP home page Giter VIP logo

androidpatternlock's Introduction

AndroidPatternLock

List of all combinations for the Android pattern lock

Model

(1)(2)(3)
(4)(5)(6)
(7)(8)(9)

Number of possible combinations

by maximum number of connected dots

  • 4 dots: 1,624 combinations
  • up to 5 dots: 8,776 combinations
  • up to 6 dots: 34,792 combinations
  • up to 7 dots: 107,704 combinations
  • up to 8 dots: 248,408 combinations
  • up to 9 dots: 389,112 combinations

per single number of connected dots

  • exactly 4 dots: 1,624 combinations
  • exactly 5 dots: 7,152 combinations
  • exactly 6 dots: 26,016 combinations
  • exactly 7 dots: 72,912 combinations
  • exactly 8 dots: 140,704 combinations
  • exactly 9 dots: 140,704 combinations

List of possible combinations (Full list)

1234
12345
123456
1234567
12345678
123456789
1234568
12345687
123456879
12345689
...

Filtering

For an exact number of connected dots (Filtered lists)

# Exactly 4 connected dots
$ grep -E '^.{4}$' 'combinations/all.txt'

For a minimum number of connected dots (Filtered lists)

# At least 8 connected dots
$ grep -E '^.{8,}$' 'combinations/all.txt'

For a maximum number of connected dots (Filtered lists)

# At most 7 connected dots
$ grep -E '^.{,7}$' 'combinations/all.txt'

For a range of connected dots (Filtered lists)

# Between 5 (inclusive) and 6 (inclusive) connected dots
$ grep -E '^.{5,6}$' 'combinations/all.txt'

For a specific dot being connected (Filtered lists)

# Dot at position (8) being connected
$ grep -F '8' 'combinations/all.txt'

For multiple specific dots being connected

# Dots at positions (5) and (7) being connected
$ cat 'combinations/all.txt' | grep -F '5' | grep -F '7'

License

Copyright (c) delight.im <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

androidpatternlock's People

Contributors

ocram avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.