System and method for selective encryption of input data during a retail transaction