Module atadb::util::hash[][src]

Functions

hash_bin
hash_utf8

Hashing should work on utf8 and binary data. It should not be possibly to submit many different colliding values easily, or performance may suffer. This is achieved by using a secret salt and relying on a fast non-cryptographic hashing function. If the hashing fucntion is changed, all databases need to re-intern all their strings, so don't change it.

make_salt