Skip to content

Commit b7ce36f

Browse files
feat: 128bit entropy
1 parent 769522b commit b7ce36f

File tree

4 files changed

+439851
-12820
lines changed

4 files changed

+439851
-12820
lines changed

scripts/import-words

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ for (const wordSet of [
99
dictFile: "dict-words.txt",
1010
outFile: "src/utils/password-dict-words.ts",
1111
constName: "passwordWords",
12-
targetLength: 37,
12+
targetLength: 49,
1313
},
1414
]) {
1515
const { humanName, dictFile, targetLength, outFile, constName } = wordSet;

src/utils/password-base32.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ class RandomBase32 implements PasswordGenerator {
5151
}
5252
}
5353

54-
export const passwordBase32 = new RandomBase32("Base 32", 12);
54+
export const passwordBase32 = new RandomBase32("Base 32", 16);

0 commit comments

Comments
 (0)