Guess curve number by key lenght