invite-code-generator Pure fn

Pure helper that turns random bytes into a printable invite code.

Function I/O

NameInOutSidePurpose
encodebytes[8]codepureBase32 encoding without padding for human-readable codes.

Variables

No variables recorded.

Internal data flow

1 Read 8 random bytes. 2 Base32 encode without padding.

Errors

No errors recorded.