导航:首页 > 文档加密 > qq采用的是什么加密

qq采用的是什么加密

发布时间:2022-09-14 07:37:37

‘壹’ QQ协议采用什么加密算法加密传送数据采用的是什么算法

‘贰’ QQ密码的加密方式是什么

密保卡和密保手机就可以了哈

‘叁’ 请QQ的密码用的是什么加密算法是在哪个文件中

先进行md5加密再进行base64加密得到密码的hash值,存储在qq.exe里面

‘肆’ QQ密码是怎么加密的

在QQ的设置里,密码保护的地方加密。可以加符号和字母。数字一起

‘伍’ 腾讯qq密码是用什么方法加密的 是纯MD5加密还是在它加密后再加了密求高手详解

反向加密 也就是开发者也不知道这QQ密码是什么 自动运算出来的
但是开发商可以不用密码进你的QQ 但是你也要提供相关资料和证据 要不然开发商会触犯法律的

‘陆’ QQ密码加密原理是什么

一般只有加密码过程,没有解密。 用户登陆时,把他输入的密码经过加密 再拿去与数据库里面的密码比较就可以了。 修改密码也是一样的原理,输入的原密码加密后与数据库密码比较,符合的话再将新密码加密后存入数据库覆盖原密码 现在流行的MD5加密算法 网上有很多JAVA的MD5算法

‘柒’ QQ密码加密原理

QQ2005 贺岁版登录口令加密算法及其源代码 http://www.cnhello.com Binny([email protected]) 2005-12-11 3:27:33 查看: 次 星级: 文字大小: 较大 正常 较小 收藏此页到365Key 收藏此页到新浪ViVi 【导读】拿到QQ 2005贺岁版后,发现其加密原理并没有新的改变,经过跟踪和分析,编制出暴力破解本地QQ密码的程序。QQ密码在正确登陆后,会将加密的结果保存在用户目录的ewh.db文件中,加密采用公开的MD5算法,通过N次循环以及异或后求反,最终计算出加密的结果,与用户的ewh.db文件中的密文比较后,发出“输入密码与上次成功登录的密码不一致,$0A是否到服务器验证?”(这条信息在BasicCtrlDll.dll的资源中,$0A在C的格式化中为回车)。根据这个提示,完成本地QQ密码的暴力破解。 拿到QQ 2005贺岁版后,发现其加密原理并没有新的改变,经过跟踪和分析,编制出暴力破解本地QQ密码的程序。 QQ密码在正确登陆后,会将加密的结果保存在用户目录的ewh.db文件中,加密采用公开的MD5算法,通过N次循环以及异或后求反,最终计算出加密的结果,与用户的ewh.db文件中的密文比较后,发出“输入密码与上次成功登录的密码不一致,$0A是否到服务器验证?”(这条信息在BasicCtrlDll.dll的资源中,$0A在C的格式化中为回车)。根据这个提示,完成本地QQ密码的暴力破解。 在QQ系统中,“QD”标志代表QQ Data,例如,我们可以在文件User.db或ewh.db中找到这个以QD开头的数据结构。 一、 ewh.db原始数据 51 44 01 01 03 00 04 03 00 BD AF A8 04 00 00 00 00 2E 06 00 07 03 00 B9 AB B4 10 00 00 00 07 22 AA 96 56 19 A3 9E 82 19 B7 2B BD 2D 34 4A 04 03 00 A9 B5 B2 04 00 00 00 3C A8 93 06 其中,红色为AST循环次数,兰色为EWH加密字符串,绿色为UIN QQ号(110340156=0x0693A83C,Intel体系内存中排列顺序为:3CA89306)。 二、 ewh.db数据结构 HEX 偏移 DEC 偏移 数据 注释 变量 标志 0000 1 51 44 QD,QQ Data 数据标志 Flag 0002 3 01 01 保留的数据结构 Reserve 0004 5 03 00 总数据段(Data Sections)的个数 Sections 0006 7 04 第一个数据段(简称1S,下同)的类型,可以从0x01到0x0F,04代表本数据没经过加密处理。 Type1S 0007 8 03 00 1S标志的长度。 LenFlag1S 0009 10 BD AF A8 1S标志(例如AST、UIN、EWH等),是经过简单的异或并求反计算处理的,此处是AST,可能是Algorithm Shift Times 或Axxx Switch Time,管他的呢! Flag1S 000C 13 04 00 00 00 1S数据的长度 LenData1S 0010 17 00 2E 06 00 = (404992) 1S数据,这里是进行MD5转换的次数。 这个数据是同计算机的性能有关的,性能越高的计算机,在QQ注册成功后产生的这个循环控制变量就越大。 Data1S 0014 21 07 2S数据的类型,07代表使用MD5进行加密 Type2S 0015 22 03 00 2S标志的长度 LenFlag2S 0017 24 B9 AB B4 2S标志,此处是EWH,代表本数据段是EWH密码数据,可能是Encrypt With Hash的缩写 Flag2S 001A 27 10 00 00 00 2S数据的长度 LenData2S 001E 31 07 22 AA 96 56 19 A3 9E 82 19 B7 2B BD 2D 34 4A 2S

‘捌’ QQ空间登陆加密密码算法是什么

QQ空间现在采用的是动态加密,加密结果和验证码有密切关系,
也就是说是:密码+算法+验证码在一起,加密算法如下:
public static string smethod_0(string s)
{
MD5 mD = MD5.Create();
byte[] bytes = Encoding.ASCII.GetBytes(s);
byte[] array = mD.ComputeHash(bytes);
StringBuilder stringBuilder = new StringBuilder();
byte[] array2 = array;
for (int i = 0; i < array2.Length; i++)
{
byte b = array2[i];
stringBuilder.Append(b.ToString("x").PadLeft(2, '0'));
}
return stringBuilder.ToString().ToUpper();
}
public static byte[] EncyptMD5Bytes(string s)
{
MD5 mD = MD5.Create();
byte[] bytes = Encoding.ASCII.GetBytes(s);
return mD.ComputeHash(bytes);
}
public static string smethod_1(byte[] s)
{
MD5 mD = MD5.Create();
byte[] array = mD.ComputeHash(s);
StringBuilder stringBuilder = new StringBuilder();
byte[] array2 = array;
for (int i = 0; i < array2.Length; i++)
{
byte b = array2[i];
stringBuilder.Append(b.ToString("x").PadLeft(2, '0'));
}
return stringBuilder.ToString().ToUpper();
}
public static string EncryptQQWebMd5(string s)
{
MD5 mD = MD5.Create();
byte[] bytes = Encoding.ASCII.GetBytes(s);
byte[] array = mD.ComputeHash(bytes);
StringBuilder stringBuilder = new StringBuilder();
byte[] array2 = array;
for (int i = 0; i < array2.Length; i++)
{
byte b = array2[i];
stringBuilder.Append("\\x");
stringBuilder.Append(b.ToString("x2"));
}
return stringBuilder.ToString();
}
public static string EncryptOld(string password, string verifyCode)
{
return smethod_0(EncyptMD5_3_16(password) + verifyCode.ToUpper());
}
public static string Encrypt(string qq, string password, string verifyCode)
{
return Encrypt((long)Convert.ToDouble(qq), password, verifyCode);
}
public class ByteBuffer
{
private byte[] byte_0;
public Stream BaseStream;
public ByteBuffer()
{
this.BaseStream = new MemoryStream();
this.byte_0 = new byte[16];
}
public virtual long Seek(int offset, SeekOrigin origin)
{
return this.BaseStream.Seek((long)offset, origin);
}
public bool Peek()
{
return this.BaseStream.Position < this.BaseStream.Length;
}
public byte[] ToByteArray()
{
//long position = this.BaseStream.Position;
//this.BaseStream.Position = 0L;
//byte[] array = new byte[(int)((object)((IntPtr)this.BaseStream.Length))];
//this.BaseStream.Read(array, 0, array.Length);
//this.BaseStream.Position = position;
//return array;
long position = this.BaseStream.Position;
this.BaseStream.Position = 0L;
byte[] buffer = new byte[this.BaseStream.Length];
this.BaseStream.Read(buffer, 0, buffer.Length);
this.BaseStream.Position = position;
return buffer;
}
public void Put(bool value)
{
this.byte_0[0] = value ? ((byte)1) : ((byte)0);
this.BaseStream.Write(this.byte_0, 0, 1);
}
public void Put(byte value)
{
this.BaseStream.WriteByte(value);
}
public void Put(byte[] value)
{
if (value == null)
{
throw new ArgumentNullException("value");
}
this.BaseStream.Write(value, 0, value.Length);
}
public void PutInt(int value)
{
this.PutInt((uint)value);
}
public void PutInt(uint value)
{
this.byte_0[0] = (byte)(value >> 24);
this.byte_0[1] = (byte)(value >> 16);
this.byte_0[2] = (byte)(value >> 8);
this.byte_0[3] = (byte)value;
this.BaseStream.Write(this.byte_0, 0, 4);
}
public void PutInt(int index, uint value)
{
int offset = (int)this.BaseStream.Position;
this.Seek(index, SeekOrigin.Begin);
this.PutInt(value);
this.Seek(offset, SeekOrigin.Begin);
}
public byte Get()
{
return (byte)this.BaseStream.ReadByte();
}
}
public static string Encrypt(long qq, string password, string verifyCode)
{
ByteBuffer byteBuffer = new ByteBuffer();
byteBuffer.Put(EncyptMD5Bytes(password));
byteBuffer.PutInt(0);
byteBuffer.PutInt((uint)qq);
EncryptQQWebMd5(password);
byte[] s = byteBuffer.ToByteArray();
string str = smethod_1(s);
return smethod_0(str + verifyCode.ToUpper());
}

上面的加密算法,调用方法是:string str = Encrypt(QQ号, QQ密码, 验证码);
加密后的密码会返回到str中,然后使用返回的密码进行登录。
注:QQ空间登录是采用的GET而不是POST。

‘玖’ 网络上的QQ数据包内容是加密的,是用什么加密的,怎样解密,谢谢!

你想干嘛?

阅读全文

与qq采用的是什么加密相关的资料

热点内容
带动程序员技术氛围的活动有哪些 浏览:551
华为捐赠源码 浏览:591
ccs编译程序一直弹debug 浏览:47
安卓手机如何调白图片 浏览:355
什么牌子的安卓平板最好用 浏览:172
keil编译显示目标没有建立 浏览:793
安卓收银机如何安装打印机驱动 浏览:820
电动车什么app上买 浏览:531
墨西哥pdf 浏览:712
python图形界面编程 浏览:958
暂停加密服务 浏览:278
易语言编程系统下载 浏览:55
linux创建数据库命令 浏览:927
佛系程序员的道路 浏览:409
安卓手机怎么玩天天麻将 浏览:218
程序员高血脂 浏览:265
基于单片机的盲人探路器 浏览:648
少女心贴图app哪个好 浏览:528
企业员工系统源码 浏览:755
java第三方jar 浏览:274