Change default password length to 16
This commit is contained in:
parent
3ea938e687
commit
f9f61afa4c
2 changed files with 3 additions and 3 deletions
2
main.c
2
main.c
|
@ -75,7 +75,7 @@ main(int argc, char *argv[])
|
|||
FILE * outfile = stdout;
|
||||
int dec = 0;
|
||||
size_t passwdlen = 0;
|
||||
size_t outputlength = 12;
|
||||
size_t outputlength = 16;
|
||||
uint32_t maxmem = 1000;
|
||||
uint32_t megaops = 32;
|
||||
char ch;
|
||||
|
|
|
@ -4,11 +4,11 @@ usage: scrypt-genpass [-l LEN] [-m MAXMEM] [-o MAXOPS] [-k KEYFILE] [-p PASS] <s
|
|||
Master hex: 3e23e8160039594a33894f6564e1b1348bbd7a0088d42c4acb73eeaed59c009d
|
||||
Site hex: ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb
|
||||
Pass hex: 0160b45a147d0a0f5b6976a7ab698554a41c06c5f77cc9d77b06304265d1646fdc8e3119474748778ab3b68a39d0a67b3a92b41a8ddb45d4bb6ebec20a5f4a57
|
||||
Generated password: b6YCubkpDR4R
|
||||
Generated password: b6YCubkpDR4RVRjw
|
||||
Master hex: bef57ec7f53a6d40beb640a780a639c83bc29ac8a9816f1fc6c5c6dcd93c4721
|
||||
Site hex: 50ae61e841fac4e8f9e40baf2ad36ec868922ea48368c18f9535e47db56dd7fb
|
||||
Pass hex: a46a99d8d0ed2388d48cc3ddd33efe0b635790176c4f84387c0b02b589d2db9703db2fa3d41d5ee1d670ba0ddd1cfd1520a0d1a7394db5ff5eaa8b290aa80ebd
|
||||
Generated password: i6XEwZJmAqjJ
|
||||
Generated password: i6XEwZJmAqjJzagl
|
||||
scrypt-genpass: Unable to generate password for output length 2: Undefined error: 0
|
||||
Master hex: ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb
|
||||
Site hex: ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb
|
||||
|
|
Reference in a new issue