Beispiel #1
0
        public string checkOtp(string mobileNo, string otp) //Want to change in this service as enc and dec algo
        {
            RegistrationDAL registrationDal = new RegistrationDAL();

            string[] uregid = mobileNo.Split('$');
            string[] otpid  = otp.Split('$');

            mobileNo = objenc.DecryptInteger(uregid[0], uregid[1]);
            otp      = objenc.DecryptInteger(otpid[0], otpid[1]);

            return(registrationDal.checkOtp(mobileNo, otp));
        }