About 32,200 results
Open links in new tab
  1. 什么是 hash? - 知乎

    提到hash,相信大多数同学都不会陌生,之前很火现在也依旧很火的技术区块链背后的底层原理之一就是hash,下面就从hash算法的原理和实际应用等几个角度,对hash算法进行一个讲解。 …

  2. terminology - What exactly (and precisely) is "hash?" - Computer ...

    Apr 5, 2016 · A "hash" is a function h h referred to as hash function that takes as input objects and outputs a string or number. The input objects are usually members of basic data types like …

  3. What exactly is a hash function? - Computer Science Stack Exchange

    The main difference between hash functions and pseudorandom number generators is that a hash function gives a unique value for each input. This is important for applications such as …

  4. 到底什么是哈希值,哈希值到底是怎么生成的,有什么用? - 知乎

    由于他的调皮,导致客户挑妹纸的时间大幅延长,从10秒到了800秒。 在代码中,一般都有一些比较复杂的算法去运算而得出这个hash值,一旦破解了这个算法,就又可以调皮啦。 在JAVA …

  5. hash tables - Number of probes in a successful search in open …

    Mar 17, 2021 · Given an open-address hash table with α α < 1, the expected number of probes in a successful search is at most 1 αln 1 1−α 1 α ln 1 1 − α I read this in a book and the proof …

  6. hash算法的数学原理是什么,如何保证尽可能少的碰撞? - 知乎

    我来解释一下为什么s一般取值为131,使用为前面的字符串数组a[n]中,取得的字符的为ascii码,数值<=127,为了尽可能保证获取的hash值的唯一性,因此需要让s为一个大于127的质数, …

  7. Why is the base used to compute hashes in Rabin–Karp always …

    The one omitted hash value (all 1's, or sometimes remapped as all 0's) can be used as a special sentinel value for "empty hash bucket". It turns out this is equivalent to 1's complement …

  8. hash - Do passwords need a max length? - Computer Science …

    Jul 26, 2023 · A perfect hash would completely avoid any collision between passwords up to the length of the hash. For typical hash lengths, that means that collisions on passwords longer …

  9. Hash tables versus binary trees - Computer Science Stack Exchange

    When implementing a dictionary ('I want to look up customer data by their customer IDs'), the typical data structures used are hash tables and binary search trees. I know for instance that …

  10. cryptography - Given a string, is it possible to determine which ...

    Dec 31, 2016 · 2) a definite hash of a specific hashing algorithm? Possible methods: 1) For hashes susceptible to rainbow-table attacks, it would be viable to search for the hash in such a …