Fixed secret keys iteration