aboutsummaryrefslogtreecommitdiff
path: root/inc/lib/hash.h
blob: 7cfad830915da4316e5d707a1b90d3d4de3e9f98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2023, Marvin Borner <dev@marvinborner.de>
// SPDX-License-Identifier: MIT

#ifndef SHARING_HASH_H
#define SHARING_HASH_H

#include <stdint.h>
#include <stddef.h>

typedef uint64_t hash_t;

hash_t hash(void *data, size_t len, uint64_t seed);

#endif