This repository provides guidance on using a tool for optimizing S-box circuits while preserving nonlinear gates and AND-depth. Please refer to "README.pdf" file.