I try to come up with a way to encrypt a DateTime object to string object and decrypt vice-versa.
public string Encrypt(DateTime dt)
{
string Encrypt = "";
{
//Encryption code here
}
return Encrypt;
}
public string Decrypt(string Input)
{
DateTime Decrypt = new DateTime();
{
//Decryption code here
}
return Decrypt;
}