Decoder key is not cleaned up like the encoder key

The encoder key is stripped of newlines. The decoder key should be too, in that case.