예제 #1
0
 private static string DecryptString(string text, ICrpytoParams crpytoParams)
 {
     using (var crypto = new CryptoWork(crpytoParams))
     {
         return(crypto.Decrypt(text));
     }
 }
예제 #2
0
파일: CryptApp.cs 프로젝트: troy191990/Dss
 public string EncryptString(string text, ICrpytoParams crpytoParams)
 {
     return(CryptoWork.Brent(text, crpytoParams));
 }
예제 #3
0
파일: CryptApp.cs 프로젝트: troy191990/Dss
 public string DecryptString(string text, ICrpytoParams crpytoParams)
 {
     return(CryptoWork.Carol(text, crpytoParams));
 }