private static string DecryptString(string text, ICrpytoParams crpytoParams) { using (var crypto = new CryptoWork(crpytoParams)) { return(crypto.Decrypt(text)); } }
public string EncryptString(string text, ICrpytoParams crpytoParams) { return(CryptoWork.Brent(text, crpytoParams)); }
public string DecryptString(string text, ICrpytoParams crpytoParams) { return(CryptoWork.Carol(text, crpytoParams)); }