Kali Linux, a Debian-derived distribution, documents Raspberry Pi Disc Encryption at https://docs.kali.org/kali-dojo/04-raspberry-pi-with-luks-disk-encryption
Quoted excerpt from 2019-04-30:
Birds Eye View of the Disk Encryption Process The process described
below was tried and tested successfully on a Raspberry Pi B+ and a
Raspberry Pi 2/3 (henceforth collectively called “RPi”). but it should
be trivial to port these instructions to any ARM device running Kali.
Before we begin, let’s take a minute to quickly describe what we’ll be
doing – as while this process is not complicated, it is involved. This
is basically our spiel:
We download the required Kali RPi image and dd it to an SD card. We
chroot to the RPi image and install/update several files in
preparation for our crypted boot. We create an initramfs file which
includes Dropbear and freshly generated SSH keys. We rsync the
modified rootfs to a temporary backup location and then delete the
rootfs partition from the SD card. We then recreate an encrypted
partition to which we restore the root partition data. That’s it! If
all goes well, the RPi will boot and then LUKS will kick in and ask
for a password to decrypt the root drive, while simultaneously opening
a Dropbear SSH session through which you can SSH in and provide the
boot decryption password. Oh yeah, did we mention this image also has
LUKS NUKE capabilities?
previous answer linked to: https://www.offensive-security.com/kali-linux/raspberry-pi-luks-disk-encryption/