fn format_string(prefix: &str, n: i32) -> ([u8; 64], usize)
Write the salt and integer index as ASCII characters.