Exemplo n.º 1
0
        public ActionResult Index()
        {
            var h       = "EsSWxhhkcqfIvh4n1K83DOQynZmnoH3XvZo1APFl6/w=";
            var user    = "******";
            var hash    = EncryptionClass.EncryptPass(user);
            var decrypt = EncryptionClass.DecryptPass(h);

            //JOPsUBHAck9T8bb96DGtLg ==
            byte[] base64HashesPassword = Convert.FromBase64String(h);
            string pass = EncryptionClass.DecryptRJ256(base64HashesPassword);

            var decrypt256 = EncryptionClass.EncryptRJ(h);

            //DecryptRJ256
            return(View());
        }