These shields are created using zk-SNARKs (the acronym stands for Zero-Knowledge Succinct Non-Interactive Argument of Knowledge).