CookieCloud
CookieCloud copied to clipboard
文档有误
解密 md5(uuid+password) 取前16位作为key
实际为 md5(uuid+”-“+password)
还好底下写了示例函数
首页文档的描述可以理解为伪代码。 如果需要自定义编码规则,在代码里可以看到具体实现:
-
前端加密 https://github.com/easychen/CookieCloud/blob/e631fa94f25e58a93f41aff37a3b46e1cd6755e9/extension/function.js#L177-L180
-
后端解密 https://github.com/easychen/CookieCloud/blob/e631fa94f25e58a93f41aff37a3b46e1cd6755e9/docker/app.js#L91-L99