7 lines
136 B
JavaScript
Executable File
7 lines
136 B
JavaScript
Executable File
import bcrypt from "bcrypt";
|
|
|
|
const password = process.argv[2];
|
|
|
|
bcrypt.hash(password, 12).then(hash=>{
|
|
console.log(hash);
|
|
}); |