關於資訊方塊
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如要瞭解 Android 二進位檔透明度資訊,請前往主要的二進位檔透明度頁面。
本頁面將進一步說明各種 tile/
目錄下的檔案格式。
這些檔案包含 Merkle Tree 節點的雜湊值,代表 Pixel 工廠映像檔的二進位公開資訊記錄。此外,這些雜湊會封裝成圖塊。如需樹狀圖拆分為資訊方塊的總覽,請參閱「分割記錄」。
在這個記錄中,節點會使用 SHA256 進行雜湊處理。我們使用 tlog 程式庫來寫入資訊方塊,具體來說,資訊方塊高度為 1。也就是說,每個圖塊最多包含 2^height = 2 個雜湊,每個雜湊為 32 位元組。
如要瞭解拼貼路徑建構作業的詳細資訊,請參閱 tlog 拼貼說明文件。
每個記錄資訊方塊的根目錄會顯示在以下位置:
- Pixel 透明化記錄
https://developers.google.com/android/binary_transparency/tile
- Google 系統 APK 資訊公開記錄
https://developers.google.com/android/binary_transparency/google1p/tile/
使用資訊方塊運算的範例
為進一步說明資訊方塊的運作方式,我們將透過 Pixel 透明度記錄檔中的範例進行說明。假設樹狀圖的大小為 8。如果您查看索引 3 的項目,則會是方塊 t(0, 1)
中的第一個雜湊。圖塊的路徑格式為 tile/H/L/NNN[.p/W]
。因此,圖塊 t(0, 1)
的路徑會是 https://developers.google.com/android/binary_transparency/tile/1/0/001。樹狀結構根目錄會位於磁磚 t(3, 0)/1
中,路徑為 https://developers.google.com/android/binary_transparency/tile/1/3/000.p/1。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-02 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-12-02 (世界標準時間)。"],[],["The `tile/` directories contain SHA256 hashes of Merkle Tree nodes, representing the Binary Transparency log for Pixel Factory Images. These hashes are organized into tiles, with each tile containing at most two 32-byte hashes. The tile path structure is `tile/H/L/NNN[.p/W]`. For example, the tile for entry index 3 in a size-8 tree is found at path `/1/0/001`. The root tile is located at path `/1/3/000.p/1`. The Pixel Transparency Log and Google System APK Transparency Log can be found in specific URLs.\n"]]