Ejemplo n.º 1
0
        public string GetKey(string pablicKey)
        {
            string key = Protection.RandomString(20);

            //// save in sesion for not sending key mor then ones.
            Session["secret"] = key;
            return(Encryption(pablicKey, key));
        }