Цілісність даних (Data Integrity)
Гарантія того, що дані залишаються точними, повними та непошкодженими протягом усього життєвого циклу.
Для передачі даних використовують контрольні суми (Checksums). Для забезпечення невідмовності (non-repudiation) застосовують цифрові підписи. У смарт-контрактах цілісність означає, що стан змінюється виключно за правилами коду.
graph LR
Center["Цілісність даних (Data Integrity)"]:::main
Rel_data_recovery["data-recovery"]:::related -.-> Center
click Rel_data_recovery "/terms/data-recovery"
Rel_data_obfuscation["data-obfuscation"]:::related -.-> Center
click Rel_data_obfuscation "/terms/data-obfuscation"
Rel_data_replication["data-replication"]:::related -.-> Center
click Rel_data_replication "/terms/data-replication"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 Простими словами
Уявіть, що ви зібрали пазл і зробили його фото. Якщо молодший брат пізніше замінить кілька деталей, ви порівняєте пазл із фото і одразу побачите втручання. Цілісність даних — це ніби таке математичне 'фото', яке дозволяє комп'ютерам завжди знати, чи не змінили, не зламали чи не вкрали інформацію.
🤓 Expert Deep Dive
Тріада CIA: Цілісність (Integrity) є частиною базової моделі кібербезпеки (Конфіденційність, Цілісність, Доступність). Їх треба розрізняти: публічне повідомлення з цифровим підписом має ідеальну цілісність, але нульову конфіденційність. У Web3 цілісність спирається на 'лавинний ефект' хеш-функцій (наприклад, SHA-256): зміна одного біта повністю змінює хеш усього блоку.
❓ Часті питання
What is the difference between data integrity and data security?
Data security is the broad practice of protecting data from all threats. Data integrity is one specific pillar of security that ensures the data is accurate and hasn't been altered. Another pillar is confidentiality, which ensures the data is kept secret.
How does a blockchain ensure data integrity?
A blockchain uses cryptography (specifically hashing). Every block contains a mathematical 'fingerprint' of all the data inside it, plus the fingerprint of the previous block. If anyone tries to change past data, all the fingerprints break, instantly alerting the network to the tampering.
What is a checksum?
A checksum is a small-sized block of data derived from another block of digital data. It is used to detect errors that may have been introduced during transmission or storage.