MCPcopy Index your code
hub / github.com/MagnusS/Java-BloomFilter / createHashes

Method createHashes

src/com/skjegstad/utils/BloomFilter.java:160–184  ·  view source on GitHub ↗

Generates digests based on the contents of an array of bytes and splits the result into 4-byte int's and store them in an array. The digest function is called until the required number of int's are produced. For each call to digest a salt is prepended to the data. The salt is increased by 1 for each

(byte[] data, int hashes)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

createHashMethod · 0.95
addMethod · 0.95
containsMethod · 0.95

Calls

no outgoing calls

Tested by 1