Delete InsufficientPasswordHash_CryptoJS.js

not used in qhelp file
This commit is contained in:
smiddy007
2023-04-17 13:15:10 -04:00
committed by GitHub
parent d975ceb648
commit e65daaae49

View File

@@ -1,8 +0,0 @@
const crypto = require('crypto-js')
function hashPassword(email, password) {
var algo = crypto.algo.SHA512.create()
algo.update(password, 'utf-8') // BAD
algo.update(email.toLowerCase(), 'utf-8')
var hash = algo.finalize()
return hash.toString(crypto.enc.Base64)
}