Encrypting external drive with cryptsetup

This is mostly for self reference but if you ever want to encrypt an external drive, here’s how you can do that.