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)); }
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)); }