Целостность данных (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 изменение всего одного бита полностью меняет хеш всего блока (лавинный эффект).
❓ Частые вопросы
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.