fasthash
| Kind | ffi-zig |
|---|---|
| Capabilities | ffi |
| Categories | algorithms cryptography ffi |
| Keywords | hash hashing xxhash performance zig-ffi |
High-performance hashing functions written in Zig
Files
| File | Description |
|---|---|
.editorconfig | Editor formatting configuration |
.gitignore | Git ignore rules for build artifacts and dependencies |
.tool-versions | asdf tool versions (Zig, Kit) |
LICENSE | MIT license file |
README.md | This file |
examples/basic.kit | Basic usage example |
kit.toml | Package manifest with metadata and dependencies |
src/fasthash.kit | Main module |
tests/algorithm-tests.test.kit | Tests for algorithm-tests |
tests/fasthash.test.kit | Tests for fasthash |
zig/hash.h | hash.h |
zig/hash.zig | Zig FFI module for hash |
zig/kit_ffi.zig | Zig FFI module for kit ffi |
Dependencies
No Kit package dependencies.
Installation
kit add gitlab.com/kit-lang/packages/kit-fasthash.gitUsage
import Kit.FasthashLicense
MIT License - see LICENSE for details.
Exported Functions & Types
fnv1a
String -> Int
rolling
String -> Int
djb2
String -> Int
sdbm
String -> Int
xor
String -> Int
combine
Int -> Int -> Int
version
() -> Int
hash
String -> String -> Int