Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Very fast, high quality, platform-independent hashing algorithm in Python.

License

Notifications You must be signed in to change notification settings

ryan-aoi/rapidhash

Repository files navigation

rapidhash

Very fast, high quality, platform-independent hashing algorithm in Python.

This project implements rapidhash in Rust and exposes it to Python through the pyo3 interface. It maintains compatibility with the original C implementation (Nicoshev/rapidhash) and follows the BSD 2-Clause license.

Thanks to Nicoshev for their excellent work.

This README.md is still a work in progress—I’ll finish it when time permits!

Install

Use the following command to install.

pip install rapidhash

Usage

from rapidhash import rapidhash

key = "hello world"
print(rapidhash(key.encode()))

key = "hello world"
seed = 42
print(rapidhash(key.encode(), seed))

About

Very fast, high quality, platform-independent hashing algorithm in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published