Make password from hash-password command required.
parent
ace780d86b
commit
f529cd7b38
|
@ -25,4 +25,8 @@ program
|
|||
})
|
||||
.parse(process.argv);
|
||||
|
||||
if (!password) {
|
||||
program.help();
|
||||
}
|
||||
|
||||
console.log(ssha512(password, program.salt || 16, program.rounds || 500000));
|
||||
|
|
Loading…
Reference in New Issue