This is mostly for self reference but if you ever want to encrypt an external drive,
here’s how you can do that.
save this and run it as (change the args of course)
KEY_PATH=$HOME/.key DISK=/dev/sdb ENCRYPTED_DISK=dm-sdb TARGET=/data bash ./encrypt.sh