pub fn print_masked_keys(keys: &[StoredKey], mask: impl Fn(&str) -> String)
Prints all stored keys with 1-based indices and masked values.