Skip to main content

min_rolls

Function min_rolls 

Source
pub const fn min_rolls<const FACES: u8, const N: usize>() -> Result<usize, EntropyError>
Expand description

Minimum rolls required to fill an N-byte entropy buffer from a FACES-die. Values match Krux upstream byte-for-byte.

For more, see [https://selfcustody.github.io/krux/getting-started/usage/generating-a-mnemonic/]