brute force going through all key lengths