This commit is contained in:
Patrick Alvin Alcala 2025-09-26 17:51:47 +08:00
parent db4b1c1065
commit f4af10e82a

View file

@ -6,7 +6,6 @@ import { ofetch } from 'ofetch'
import { SHA3, SHA1 } from 'crypto-js'
import dayjs from 'dayjs'
import { FileField } from '@kobalte/core/file-field'
import bcrypt from 'bcryptjs'
export default () => {
const API = import.meta.env.VITE_BACKEND
@ -71,8 +70,6 @@ export default () => {
}
const securePassword = async () => {
// const salt = bcrypt.genSaltSync(9)
// const hash = bcrypt.hashSync(password(), salt)
const firstHashing = SHA1(password())
const secondHashing = SHA3(firstHashing)
const thirdHashing = SHA1(secondHashing)