Pike v8.1 release 6

Method Crypto.siphash24()


Method siphash24

int siphash24(string data, void|int key)

Description

Hashes a string, with an optional key, to a 64 bit integer using the siphash-2-4 algorithm. Currently the 64 bit key parameter is used both for the high and low part of the 128 bit key.