Skip to content

腾讯基于web的QQ登录加密算法库,包括 (qzone|mail|qun).qq.com 等

Notifications You must be signed in to change notification settings

hexsum/Webqq-Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webqq::Encryption v1.7
========================

安装方法:

    1.安装依赖模块:
    
    Crypt::OpenSSL::RSA
    Crypt::OpenSSL::Bignum

    1) 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

About

腾讯基于web的QQ登录加密算法库,包括 (qzone|mail|qun).qq.com 等

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages