refactor(server): 设备特征码直接使用完整 SHA-256,移除 FP- 前缀和截断
This commit is contained in:
@@ -6,5 +6,5 @@ export const computeDeviceFingerprint = async (): Promise<string> => {
|
|||||||
const source = [uuid, serial, model, manufacturer].join('|')
|
const source = [uuid, serial, model, manufacturer].join('|')
|
||||||
const hash = sha256Hex(source)
|
const hash = sha256Hex(source)
|
||||||
|
|
||||||
return `FP-${hash.slice(0, 16)}`
|
return hash
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user