mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
10 lines
252 B
JavaScript
10 lines
252 B
JavaScript
const bcrypt = require('bcrypt')
|
|
|
|
// Fixed salt for deterministic outputs between Turbopack and @vercel/nft
|
|
// bcrypt.genSaltSync(10)
|
|
const salt = '$2b$10$V/DVgHU.feqOSsssV5gHY.'
|
|
|
|
bcrypt.hash('pass', salt).then(function (hash) {
|
|
console.log(hash)
|
|
})
|