Collection of methods for correlation attacks written in C