Example #1
0
        public HttpResponseMessage checkPassword()
        {
            /* "PlainPassword": "",
             * "HashedPassword": "",
             * "Salt": ""*/
            PasswordUtil passwordUtil = new PasswordUtil()
            {
                PlainPassword = "******", HashedPassword = "******", Salt = "Kv6Tc4VNiPdQ919+sBMm4A=="
            };

            return(Request.CreateResponse(HttpStatusCode.OK, passwordUtil.comparePassword(passwordUtil)));
        }