من می خواهم متن رمز شده را به متن آن پیوند دهم
حالتهای رمزگذاری مدرن از دادههای مرتبط پشتیبانی میکنند، که احراز هویت میشوند اما رمزگذاری نشدهاند. این می تواند برای اتصال یک متن رمزی به یک زمینه خاص استفاده شود.
نمونه هایی از اتصال متن رمز به داده های مرتبط عبارتند از:
رمزگذاری پایگاه داده سلول به سلول (یا ستون به ستون). این تضمین می کند که متن رمزی سلول فقط در آن سلول خاص معتبر است. این مانع از انتقال متن رمز شده از یک سلول به سلول دیگر توسط مهاجم می شود. در این مثال، متن رمز شده باید به column_id
و row_id
برای سلول پایگاه داده داده شده باشد.
ذخیره متون رمزی در کلاینت های مختلف به شما امکان می دهد در صورتی که کلاینت A متن رمز مشتری B را برای رمزگشایی فراهم کند، رفتار نادرست را تشخیص دهید. در اینجا، متن رمز باید به نام مشتری متصل شود.
Tink چندین گزینه برای اتصال متن رمز شده به متن خود دارد:
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-03-04 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-03-04 بهوقت ساعت هماهنگ جهانی."],[[["Modern encryption techniques can authenticate additional data without encrypting it, ensuring data integrity and context."],["This \"associated data\" links ciphertext to its specific location or user, preventing unauthorized use or manipulation."],["Tink offers multiple encryption options, including AEAD, Streaming AEAD, Deterministic AEAD, and Hybrid Encryption, that support binding ciphertext to its context for enhanced security."],["Developers can utilize associated data to prevent attacks like ciphertext movement or unauthorized decryption by ensuring the ciphertext remains tied to its intended context."]]],["Encryption modes utilize associated data to authenticate but not encrypt, binding ciphertexts to specific contexts. This prevents ciphertext misuse. Examples include binding database cell data to `column_id` and `row_id` or binding data to a client's name. Tink offers this functionality through AEAD, Streaming AEAD, Deterministic AEAD with an associated data input and Hybrid encryption with a context info parameter. Decryption fails if the correct associated data is not provided.\n"]]