درباره کاشی
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
اطلاعات کلی درباره شفافیت باینری اندروید در صفحه اصلی شفافیت باینری موجود است.
این صفحه حاوی جزئیات بیشتری در مورد فرمت فایل های زیر tile/
دایرکتوری های مختلف است.
این فایلها حاوی هشهای گرههای Merkle Tree هستند که گزارش شفافیت باینری را برای تصاویر کارخانه پیکسل نشان میدهند. علاوه بر این، این هش ها در کاشی ها بسته بندی می شوند. برای یک نمای کلی از نحوه تقسیم درخت به کاشی به کاشی کاری سیاهه مراجعه کنید.
در این لاگ، گره ها با استفاده از SHA256 هش می شوند. ما از کتابخانه tlog برای نوشتن کاشی ها به طور خاص با ارتفاع کاشی 1 استفاده می کنیم. این بدان معناست که هر کاشی حداکثر دارای 2^height = 2 هش است که هر کدام 32 بایت است.
جزئیات ساخت و سازهای مسیر کاشی را می توان در tlog Tile docs یافت.
ریشه کاشی برای هر سیاهه مربوط به زیر ارائه می شود:
- گزارش شفافیت پیکسل
-
https://developers.google.com/android/binary_transparency/tile
- گزارش شفافیت APK سیستم Google
-
https://developers.google.com/android/binary_transparency/google1p/tile/
مثالی از محاسبات با کاشی
برای درک بهتر نحوه کار کاشیها، نمونهای را با استفاده از Pixel Transparency Log مرور میکنیم. بیایید درختی به اندازه 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 است.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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 بهوقت ساعت هماهنگ جهانی."],[[["This page provides details on the format of files within the `tile/` directory, which contain hashes of Merkle Tree nodes representing the Binary Transparency log for Pixel Factory Images."],["These hashes are organized into tiles, utilizing SHA256 hashing and the `tlog` library with a tile height of 1, resulting in a maximum of 2 hashes per tile."],["Tile paths are constructed following the `tlog Tile` documentation and are represented in the format `tile/H/L/NNN[.p/W]`, enabling specific hash retrieval within the log structure."],["Accessing specific entries involves locating the corresponding tile based on its index; for instance, entry 3 resides in tile `t(0, 1)`, found at the path `tile/1/0/001`."]]],["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"]]