Click here to Skip to main content
15,901,426 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How to encrypt parameter in AES 128 bit in asp .net(4.0) using c#
e.g.
requestparameter = MID + "|" + Operating_Mode + "|"

Key = "private key";

requestparameter = AES128Bit.encrypt(requestparameter, Key);
Posted
Comments
thursunamy 14-Nov-12 4:25am    
You can review Rijndael algorithm

http://msdn.microsoft.com/en-us/library/system.security.cryptography.rijndaelmanaged(v=VS.100).aspx#Y2262

This[^] should get you started.
 
Share this answer
 
int keySize = 128;
string completeEncodedKey = "private key";

AES128Bit.Encrypt(requestString, completeEncodedKey, keySize);


This is what you need to use for encoding the parameters.

Happy Coding....
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900