Click here to Skip to main content
15,867,838 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I need code for string to binary conversion in asp.net??? then i need code as well as encryption and decryption in asp.net???? pls help me guys???
Posted

1 solution

First off, that isn't a good question.
It contains no detail of what you want, and makes no real sense.

Secondly, that isn't how it works. The idea is: You try to do it, you get stuck, you ask for help.
Just asking for code will not please anyone, and will result in you not getting help.

String to byte is easy, and I assume what you are trying to achive:
C#
string s = "Hello";
byte[] bytes = System.Text.Encoding.ASCII.GetBytes(s);


Google will help you with encryption and decryption.
 
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