Remove trailing whitespace
A tiny bit of reformatting
Some easy cleanups
Flip arguments to hmac'
Simplify a pipeline
Simplify again
Simplify timestamp rendering
Simplify
Turn complex multi-way if into something simpler