effective key length = secretKeyLength