Calculates a FNV1/FNV1a digest from data and generates a hexdecimal string representation of the digest. data are processed in octet/byte-wise manner.
Usage:
import ocean.io.digest.Fnv; Fnv32.HexDigest digest32; Fnv64.HexDigest digest64; auto data = "sociomantic"; digest32 = Fnv32.fnv1(data, digest32); digest64 = Fnv64.fnv1(data, digest32);
data to digest
string buffer
initial digest; defaults to the magic 32 bit or 64 bit initial value, according to DigestType
hexdecimal string representation of resulting digest
See Implementation
Calculates a FNV1/FNV1a digest from data and generates a hexdecimal string representation of the digest. data are processed in octet/byte-wise manner.
Usage: