Skip to content
#

p-bit

Here is 1 public repository matching this topic...

A Rust implementation of stochastic hashing (stochash), a probabilistic primitive whose input is a buffer of bytes (each interpreted as a probability byte/256) and whose output is a bit-string of the same length, with each bit sampled independently with P(bit_i = 1) = byte_i / 256.

  • Updated Sep 5, 2026
  • Rust

Add this topic to your repo

To associate your repository with the p-bit topic, visit your repo's landing page and select "manage topics."

Learn more