This commit is contained in:
MoonLeeeaf
2024-05-25 16:34:17 +08:00
parent 71b5b5b2df
commit 5b55ca77ec
21 changed files with 91 additions and 2025 deletions

View File

@@ -12,7 +12,7 @@ const users = require("./api-users")
let getSameHashedValue = (a, b) => {
let _a = [hash.md5(a) + hash.sha256(a), hash.md5(b) + hash.sha256(b)].sort()
let [_1, _2] = _a
return hash.sha256hex(hash.sha256hex(_1) + hash.sha256hex(_2))
return hash.sha256(hash.sha256(_1) + hash.sha256(_2))
}
let getSingleChatDir = (a, b) => {