3 Unstar Star 16 Fork 5

freez / WeChatImageDataEncryptionC#MIT

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
PC微信图片加密 加密 spread retract

Clone or download
EncryptionUtil.cs 516 Bytes
Copy Edit Web IDE Raw Blame History
freez authored 2019-12-31 09:14 . 提交
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WeChatImageDatEncryption
{
public class EncryptionUtil
{
public static byte[] EnDeFile(byte[] filebuffer, int key) {
byte[] newBuffer = new byte[filebuffer.Length];
for (int i = 0; i < filebuffer.Length; i++)
{
newBuffer[i] = (byte)(filebuffer[i] ^ key);
}
return newBuffer;
}
}
}

Comment ( 0 )

Sign in for post a comment

C#
1
https://gitee.com/freeys/WeChatImageDataEncryption.git
git@gitee.com:freeys/WeChatImageDataEncryption.git
freeys
WeChatImageDataEncryption
WeChatImageDataEncryption
master

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542