Traditional Culture Encyclopedia - Traditional customs - What are hash rules

What are hash rules

The hash rule is derived from the traditional British game of paper trails.

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.