This is... not how I would really write it. If `encrypt` takes a `&[u8]`, as it should, you don't need a `&vec![]` at all, and can do:
self.payload.as_deref().unwrap_or_default()
...which I think is the best here.