Traditional Culture Encyclopedia - Traditional customs - What are hash rules
What are hash rules
Hash, which is generally translated as "hash", but also transliterated as "hash", is the process of taking an input of any length (also known as a pre-map, or pre-image), and transforming it into a fixed-length output through a hashing algorithm. The output is the hash value. This transformation is a compressed mapping, that is, the space of the hash value is usually much smaller than the space of the input, different inputs may be hashed into the same output, so it is not possible to uniquely determine the input value from the hash value. It is simply a function that compresses a message of arbitrary length into a message digest of some fixed length.
Common HASH Functions
-Direct Remainder: f(x):= x mod maxM ; maxM is generally a prime number not too close to 2^t.
-Multiplicative rounding: f(x):= trunc((x/maxX)*maxlongit) mod maxM, mainly used for real numbers.
-Square to take the middle method: f(x):=(x*x div 1000 ) mod 1000000); square and take the middle, each bit contains more information.
HASH has spread all over the world, and many people even take pleasure in traveling around the world to participate in HASH and collect different HASH T-shirts. At the first game, the losing team must sit on the ice.
- Previous article:The process of practicing martial arts essay
- Next article:Huang Tingjian's Short Stories
- Related articles
- Xi'an has several pharmaceutical wholesale market
- Xuzhou villa price
- Mid-Autumn Festival in English and Common Spoken Words
- What is the traditional Wudang Taiji sword?
- What is the essence of Chinese philosophy?
- What are the traditional foods of Qingming Festival
- Please briefly describe the relationship and difference between logical positivism and positivism.
- Fresh cut fruits and vegetables processing technology
- Detailed verification of Buddhism and scientific rationality
- How much is vermicelli a penny?