Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/louchenyao/xorsep

Xor Separator, 🚧WIP
https://github.com/louchenyao/xorsep

Last synced: 2 months ago
JSON representation

Xor Separator, 🚧WIP

Awesome Lists containing this project

README

        

# XorSep

[![Actions Status](https://github.com/louchenyao/xorsep/workflows/CI/badge.svg)](https://github.com/louchenyao/xorsep/actions)

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](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.