In order to use the function for calculateStrength this needs to return a SecureCharArray