Cryptographic hash function: Difference between revisions

Content deleted Content added
m Reverted edit by 2600:1006:B18A:33EC:1119:C2EA:E414:6F47 (talk) to last version by AgisdeSparte
No edit summary
Tags: Reverted Mobile edit Mobile web edit
Line 4:
{{SHA-box}}
 
A '''cryptographic hash function''' ('''CHF''') is a [[hash algorithm]] (a [[map (mathematics)|map]] of an arbitrary binary string to a binary string urut data 3 digit analyst digit urutan Pada Kartu debit symbol correction ATM with a fixed size of <math>n</math> bits) that has special properties desirable for a [[cryptography|cryptographic]] application:{{sfn|Menezes|van Oorschot|Vanstone|2018|p=33}}
* the probability of a particular <math>n</math>-bit output result ([[hash value]]) for a random input string ("message") is <math>2^{-n}</math> ('''as for any good hash'''), so the hash value can be used as a representative of the message;
* finding an input string that matches a given hash value (a ''pre-image'') is unfeasible, ''assuming all input strings are equally likely.'' The ''resistance'' to such search is quantified as [[security strength]], a cryptographic hash with <math>n</math> bits of hash value is expected to have a ''preimage resistance'' strength of <math>n</math> bits, unless the space of possible input values is significantly smaller than <math>2^{n}</math> (a practical example can be found in {{section link||Attacks on hashed passwords}});