Skip to main content

render_codex32_grouped

Function render_codex32_grouped 

Source
pub fn render_codex32_grouped(s: &str, group_size: usize) -> String
Expand description

Render a codex32 string with optional N-char hyphen grouping for transcription aid. Per spec §10.2, every 4-5 chars optionally separated by - for human readability. group_size = 0 returns the input unchanged (no grouping).