I was creating caeser cipher in java that uses the length of the string as the amount each character will be shifted by
import java.util.Scanner; import java.