Skip to main content

serial_text

Function serial_text 

Source
pub fn serial_text(serial: u32) -> String
Expand description

A serial number as printed on the key. Yubico writes its serials in decimal digits inside the card’s hexadecimal ones (“12345678” reads 0x12345678), so they are shown in groups of three, as a number; others stay hexadecimal.