Documentation

CslibFrontier.Crypto.Primitives.ByteString.Uniform

Uniform sampling of fixed-length byte strings #

An observation which is true at most once on an n-byte space succeeds with probability at most 2^(-8n) on a uniformly random string.

There are 2^(8n) strings of exactly n bytes.

A test accepting at most one uniform byte string has success at most 2^(-8n).