我需要在asp.net中将字符串转换为二进制的代码吗? [英] I need code for string to binary conversion in asp.net?

查看:107
本文介绍了我需要在asp.net中将字符串转换为二进制的代码吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在asp.net中将字符串转换为二进制的代码???那么我需要代码以及asp.net中的加密和解密???请帮助我吗?

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???

推荐答案

首先,这不是一个好问题.
它不包含您想要的任何细节,也没有任何实际意义.

其次,这不是它的工作方式.这个想法是:您尝试这样做,陷入困境,寻求帮助.
仅仅要求提供代码不会使任何人满意,并且会导致您无法获得帮助.

字符串到字节很简单,我假设您正在尝试达到以下目的:
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:
string s = "Hello";
byte[] bytes = System.Text.Encoding.ASCII.GetBytes(s);



Google会帮助您进行加密和解密.



Google will help you with encryption and decryption.


这篇关于我需要在asp.net中将字符串转换为二进制的代码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆