An FPGA architecture for the recovery of WPA/WPA2 keys