tencent cloud

Tencent Cloud Observability Platform

util.sloginEncrypt

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2025-03-11 20:21:26
During the script execution, util.sloginEncrypt is used for QQ slogin encryption.
sloginEncrypt(salt: number, pwd: string, vcode: string): string

Parameters

Parameter
Type
Description
salt
number
QQ account number.
pwd
string
User's plaintext password.
vcode
string
appid, namely the aid field.

Return

Type
Description
string
Encrypted password.

Samples

Call the method for qq slogin encryption:
import util from 'pts/util';

export default function () {
// lXYi46n51i4I2E6rFgaR75Lnp9kt4S4ZTq9ZTCxPv-Ce0jWsjCss2uCl9Hed163KGkCLUxFivS9BTGRyR7YuWrDa9*tGcqal6q3BW2jxPR2M3Si3Q2prGGIM5sIgwaaBeQWo1w-67Hgd-Qt*N4fszGRSS55VDl-b4THwmOAp6eKA*sG80HEzbLRUWmNnfmg8wdmtyxiZisYtyWI2HJozH1EKuN2u9byOvFnMdzCMlL7kPIZACk3zt84DM5byfCVpBII5N1EM6IMZ*u7A2WOd2c2RerWbVwAyu1raYoZwTODeOx18xw2uTnGi8aLJTz4PIG*3svujqwMayIgtzhq1IQ__
console.log(util.sloginEncrypt(123456, 'abcdef', '14'));
}



Ajuda e Suporte

Esta página foi útil?

comentários