pub fn run(input: &[u8]) -> String
The safe part, separated so it can be tested without any pointers.