# Webqq-Encryption **Repository Path**: sjdy521/Webqq-Encryption ## Basic Information - **Project Name**: Webqq-Encryption - **Description**: 腾讯基于web的QQ登录加密算法库 - **Primary Language**: Perl - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 14 - **Forks**: 5 - **Created**: 2015-04-24 - **Last Updated**: 2024-11-24 ## Categories & Tags **Categories**: security-dev **Tags**: None ## README Webqq::Encryption v1.6 ======================== 安装方法: 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