Cryptographic Hashing
Cryptographic hashing, girdi verisinin herhangi bir boyutundan, determinism, non-invertibility ve collision resistance özellikleriyle sabit uzunlukta bir digest üretir, bu da data integrity ve authentication sağlar.
Bir cryptographic [[hash function](/tr/terms/hash-function)](/tr/terms/cryptographic-hash-function), keyfi uzunlukta bir girdi alır ve sabit uzunlukta bir digest döndürür. Determinism, fixed output size ve one-wayness ile karakterize edilir. Deterministik ve fixed length olmasının yanı sıra, cryptographic hash function'lar preimage resistance (bir digest verildiğinde, bir preimage bulmak infeasible'dır), second-preimage resistance (aynı digest'e sahip farklı bir girdi bulmak infeasible'dır) ve collision resistance (çakışan iki girdi bulmak zordur) sağlamayı hedefler. Hesaplaması verimli olacak şekilde tasarlanmıştır ve çıktı digest'i avalanche effect'i sergilemelidir: girdideki küçük bir değişiklik önemli ölçüde farklı bir digest ile sonuçlanır. Veri bütünlüğü kontrollerinde, dijital imzalarda ve uygun olduğunda password hashing'de kullanılırlar. Not: nonce, hash function'ın kendisinin bir özelliği değildir; protokollerde salt veya hashing bağlamlarını değiştirmek için kullanılabilir, ancak hash function'ın temel özelliğinin bir parçası değildir.
graph LR
Center["Cryptographic Hashing"]:::main
Pre_cryptography["cryptography"]:::pre --> Center
click Pre_cryptography "/terms/cryptography"
Center --> Child_merkle_tree["merkle-tree"]:::child
click Child_merkle_tree "/terms/merkle-tree"
Rel_digital_signatures["digital-signatures"]:::related -.-> Center
click Rel_digital_signatures "/terms/digital-signatures"
Rel_proof_of_work["proof-of-work"]:::related -.-> Center
click Rel_proof_of_work "/terms/proof-of-work"
Rel_cryptographic_primitives["cryptographic-primitives"]:::related -.-> Center
click Rel_cryptographic_primitives "/terms/cryptographic-primitives"
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;
🧒 5 yaşındaki gibi açıkla
🧼 A digital fingerprint for your data. If even one tiny [bit](/tr/terms/bit) of a file changes, the [hash](/tr/terms/hash) changes completely, showing you it was touched.
🤓 Expert Deep Dive
## The Significance of SHA-256
SHA-256 is the beating heart of the Bitcoin network. It is used to create the linked 'chain' by including the previous block's hash in the current block, and it powers the Proof-of-Work mining system where miners compete to find a specific hash. Its 256-bit output provides 128-bit 'collision security,' which remains strong even against the most advanced classical computers.