Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bcryptjs.hash

// This is probably the easiest way to use bcryptjs in nodejs
const bcrypt = require("bcryptjs")

const password = "123456"

bcrypt.hash(password, 10)
	.then('''do something''')
	.catch(err => console.log(err))
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+8 =