Пример #1
0
 /// <summary>
 /// Return the Plain text
 /// </summary>
 /// <param name="sha1Obj"></param>
 /// <returns></returns>
 ///
 public string GetDecryptString(string encryptedString)
 {
     return(HashValue.Decrypt(encryptedString));
 }
Пример #2
0
 /// <summary>
 /// Return Encrypted String
 /// </summary>
 /// <param name="sha1Obj"></param>
 /// <returns></returns>
 ///
 public string GetEncryptString(string plaintext)
 {
     return(HashValue.Encrypt(plaintext));
 }