Click here to Skip to main content
13,507,742 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi frnds.... i want to encrypt the date and decrypt the date using c#
pls anyone guide me .....
Posted 2-Feb-13 0:59am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

A date may be a little small for encryption, but...there is an example here: Encrypt and Decrypt Data with C#[^]

It depend what you want to use the date for - it may be more sensible to use a hashing algorithm like SHA instead, because they cannot be reversed.
koilkannan 2-Feb-13 7:31am
thank you.... its really useful
OriginalGriff 2-Feb-13 7:49am
You're welcome!
Abhishek Pant 2-Feb-13 8:06am
I dont know why he downvoted.+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180417.1 | Last Updated 2 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100