1 2 3 4 5 6 7 8 9 10
use crate::ctx::GenContext; // Format: WebAuthn Credential ID — https://www.w3.org/TR/webauthn-3/ pub fn gen(ctx: &mut GenContext<'_>, buf: &mut String) { ctx.rng.push_charset( buf, b"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", 43, ); }