louchenyao / xorsep

Xor Separator, 🚧WIP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XorSep

Actions Status

XorSep acts like a hash table, except it returns a random value when the key is not in the table.

How does it work?

xorsep.jpg

In a nutshell, the result of a key is queried by the xor of three values from an array via three indexes generated by a hash function.

XorSep solves a system of linear equations over GF(2) to construct the array conforming to the query results.

About

Xor Separator, 🚧WIP


Languages

Language:C++ 83.0%Language:Python 10.3%Language:Starlark 5.8%Language:C 0.9%