Skip to content
Blog

Hash functions

A hash function maps data of arbitrary size to fixed-size values. The following hash functions have been implemented to be used in Cypher.

FunctionDescriptionExampleResult
md5(string)returns an MD5 hash of the provided inputmd5('kuzu')caca2358cada60d679fc0310d440f8ca
sha256(string)returns a SHA-256 hash of the provided inputsha256('kuzu')e129f5000a4b71ccc3a0e6353a86cc57989106e670793db98efa34b7527aefa5
hash(string)returns a Murmurhash64 hash of the provided inputhash('kuzu')-144620710730482887