Yes, i have experienced similar issues with ecryption and some versions of twrp. Unfortunately i dont get to fastboot...
I might have fried my emmc by flashing too often, lol. Flashing with edl doesn´t work either so im lost.
I managed to hardbrick my half-year old mi 10 by updating to the latest stable update . I was updating from 12.2.8 to 12.2.9
It went in the stock miui recovery by accident (put my case on the wrong way and the buttons got forced...). After rebooting i was stuck in fastboot, but unable to...