Commit 48a705a
committed
implement PIN/passphrase generation UI
Passphrases have been implemented using EFF's Long Wordlist of 6^5
words. In terms of entropy, an 8-word passphrase would have a search
space of (6^5)^8 ~= 2^103. This wordlist can be easily changed; just
make sure to update the various constants in the DicewareWordList class
Test: Manual
Test: atest -c SettingsUnitTests:com.android.settings.password.generate
(after building with m and running emulator)
Test: SetupWizard21 parent c14c3b0 commit 48a705a
File tree
32 files changed
+11305
-11
lines changed- assets
- res
- drawable
- layout
- values
- xml
- src/com/android/settings
- password
- generate
- widget
- tests/unit/src/com/android/settings/password/generate
32 files changed
+11305
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2977 | 2977 | | |
2978 | 2978 | | |
2979 | 2979 | | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
| 2983 | + | |
| 2984 | + | |
| 2985 | + | |
| 2986 | + | |
2980 | 2987 | | |
2981 | 2988 | | |
2982 | 2989 | | |
| |||
0 commit comments