请问怎么用C# 3DES 进行加密?求完整得代码,先谢谢了! 10
明文为8字节/byte[]data={0x34,0x12,0x34,0x12,0x67,0x45,0x23,0x51};密钥为24字节/byte[]key={0x74,0...
明文为8字节/byte[] data = { 0x34, 0x12, 0x34, 0x12, 0x67, 0x45, 0x23, 0x51 };
密钥为24字节/byte[] key = { 0x74, 0x34, 0xDF, 0x6D, 0x8A, 0xF5, 0x34, 0x5A,
0x74, 0x34, 0xDF, 0x6D, 0x8A, 0xF5, 0x34, 0x5A ,
0xDF,0x56,0xDD,0xDF,0x72,0x3F,0x72,0xF7};
要求得到长度为8字节的密文,急求,谢谢了! 展开
密钥为24字节/byte[] key = { 0x74, 0x34, 0xDF, 0x6D, 0x8A, 0xF5, 0x34, 0x5A,
0x74, 0x34, 0xDF, 0x6D, 0x8A, 0xF5, 0x34, 0x5A ,
0xDF,0x56,0xDD,0xDF,0x72,0x3F,0x72,0xF7};
要求得到长度为8字节的密文,急求,谢谢了! 展开
1个回答
展开全部
参考msdn
https://msdn.microsoft.com/en-us/library/system.security.cryptography.des(v=vs.110).aspx
https://msdn.microsoft.com/en-us/library/system.security.cryptography.des(v=vs.110).aspx
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询