Reconsider the use of md5() and uniqid()
還沒有人認領這個 Issue。
評估
研究方向
未指定檔案或測試。首先找出呼叫 md5() 和 uniqid() 的快取檔名產生程式碼,然後檢視在不區分大小寫的檔案系統上如何限制檔名。完成的標準是實作一種已達成共識的抗碰撞方案,同時不產生過長的快取檔名,並更新相關測試。
由索引模型根據 Issue 內容生成。
描述
This has been triggered by the discussion regarding the vote to deprecate md5(), sha1() and uniqid().
We're using md5() and uniqid() for caching purposes, what might cause collisions, so perhaps increasing the entropy would be a good idea. To avoid overly long filenames, we might use base32 encoding (base64 encoding isn't suitable for case insensitive file systems), instead of base16.
- 主要語言
- M4
- 星號
- 115
- 分支
- 50
- 平均合併
- 10 分鐘
- 30 天內合併 PR
- 6
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
php/php-sdk-binary-tools 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 35/100
php/php-sdk-binary-tools#37 ·
-
難度 3/5 1-2 天 新手友好度 35/100
php/php-sdk-binary-tools#29 ·
-
難度 4/5 3-5 天 新手友好度 35/100
php/php-sdk-binary-tools#3 · 3 則留言 ·
查看 php/php-sdk-binary-tools 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
automated-analysis code-quality cookie
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 1 天內回覆
-
CI
難度 2/5 1-3 小時 新手友好度 70/100
AR-js-org/arjs-plugin-artoolkit#69 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 82/100
career-ops-hq/career-ops#4961 ·
維護者通常 2 天內回覆
-
bug good first issue
難度 2/5 1-3 小時 新手友好度 84/100
repowise-dev/repowise#3374 ·
維護者通常 1 天內回覆