MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / compareHash

Function compareHash

packages/server/src/enterprise/utils/encryption.util.ts:37–39  ·  view source on GitHub ↗
(value1: string, value2: string)

Source from the content-addressed store, hash-verified

35}
36
37export function compareHash(value1: string, value2: string) {
38 return bcrypt.compareSync(value1, value2)
39}
40
41export async function encrypt(value: string) {
42 const encryptionKey = await getEncryptionKey()

Callers 2

loginMethod · 0.90
updateUserMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected