Last post Dec 17, 2013 07:12 PM by niravpatel
Dec 12, 2013 04:11 AM|Jordy88|LINK
I'm looking for a solution for encrypting and decrypting data using C#.
The data must
be encrypted/decrypted with a key.
It should not be a
long byte array. The encrypted result must looks like a Guid (e.g.
Are there best practices, already created classes etc.?
Thanks a lot!
Dec 12, 2013 04:22 AM|Ashim Chatterjee|LINK
check this :
Dec 12, 2013 04:48 AM|Jordy88|LINK
Thanks. The result of the encryption must in a url. So I don't characters like \ > / etc. etc.
Dec 12, 2013 04:51 AM|Ashim Chatterjee|LINK
use string.replace to remove the characters you dont want.
Dec 12, 2013 05:13 AM|Jordy88|LINK
That's not possible, because i need to decode the string after encryption.
Dec 17, 2013 07:12 PM|niravpatel|LINK
Why don't you convert the encrypted string to hex (which will be longer but still url safe) and then on the other do the reverse?