https://github.com/hexsum/webqq-encryption
腾讯基于web的QQ登录加密算法库,包括 (qzone|mail|qun).qq.com 等
https://github.com/hexsum/webqq-encryption
encrypt login rsa tea webqq
Last synced: about 1 month ago
JSON representation
腾讯基于web的QQ登录加密算法库,包括 (qzone|mail|qun).qq.com 等
- Host: GitHub
- URL: https://github.com/hexsum/webqq-encryption
- Owner: hexsum
- Created: 2015-04-24T11:43:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T04:26:58.000Z (over 7 years ago)
- Last Synced: 2025-04-13T16:55:57.135Z (6 months ago)
- Topics: encrypt, login, rsa, tea, webqq
- Language: Perl
- Homepage:
- Size: 32.2 KB
- Stars: 11
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
Webqq::Encryption v1.7
========================安装方法:
1.安装依赖模块:
Crypt::OpenSSL::RSA
Crypt::OpenSSL::Bignum1) windows
安装 StrawberryPerl 之后则自带上述依赖模块 官方网站 http://strawberryperl.com/
2) RedHat/Centos
yum install -y perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-Bignum
3) Ubuntu/MacOS
apt-get install libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl
2. 在线安装 Webqq::Encryption
cpanm Webqq::Encryption调用方法:
use Webqq::Encryption qw(pwd_encrypt);
use Digest::MD5 qw(md5_hex);
#pwd_encrypt接受的参数依次是:登录密码的32位MD5值,盐,验证码
my $encrypt_pwd = pwd_encrypt(md5_hex('QQ原始登录密码'),$md5_salt,$verifycode);COPYRIGHT and LICENCE
Copyright (C) 2014 by sjdy521
This library is free software; you can redistribute it and/or modify it under BSD 2-clause "Simplified" license