File qimei.cc
FileList > src > utils > qimei.cc
Go to the source code of this file
#include <boost/beast.hpp>
#include <boost/beast/http/impl/read.hpp>
#include <boost/beast/http/impl/verb.ipp>
#include <boost/beast/http/message.hpp>
#include <boost/beast/http/string_body.hpp>
#include <boost/beast/http/verb.hpp>
#include <boost/url.hpp>
#include <boost/uuid/detail/md5.hpp>
#include <botan/asn1_obj.h>
#include <botan/auto_rng.h>
#include <botan/base64.h>
#include <botan/block_cipher.h>
#include <botan/cipher_mode.h>
#include <botan/data_src.h>
#include <botan/hex.h>
#include <botan/pem.h>
#include <botan/pubkey.h>
#include <botan/rsa.h>
#include <botan/secmem.h>
#include <botan/x509_key.h>
#include <chrono>
#include <ctime>
#include <format>
#include <nlohmann/json.hpp>
#include <qqmusic/result.h>
#include <qqmusic/utils/buffer.h>
#include <qqmusic/utils/device.h>
#include <qqmusic/utils/qimei.h>
#include <set>
#include <string>
#include <vector>
Public Static Attributes
Type | Name |
---|---|
const char | APP_KEY = "0AND0HD6FE4HY80F" |
const char | PUBLIC_KEY = /* multi line expression */ |
const char | SECRET = "ZdJqM15EeO2zWc08" |
Public Static Functions
Type | Name |
---|---|
qqmusic::Result< qqmusic::utils::buffer > | aes_encrypt (qqmusic::utils::buffer & key, qqmusic::utils::buffer & buf) |
nlohmann::json | load_rand_payload (qqmusic::utils::Device & device, std::string_view version) |
std::string | random_beacon_id () |
qqmusic::Result< qqmusic::utils::buffer > | rsa_encrypt (qqmusic::utils::buffer & buf) |
Public Static Attributes Documentation
variable APP_KEY
variable PUBLIC_KEY
variable SECRET
Public Static Functions Documentation
function aes_encrypt
static qqmusic::Result< qqmusic::utils::buffer > aes_encrypt (
qqmusic::utils::buffer & key,
qqmusic::utils::buffer & buf
)
function load_rand_payload
static nlohmann::json load_rand_payload (
qqmusic::utils::Device & device,
std::string_view version
)
function random_beacon_id
function rsa_encrypt
The documentation for this class was generated from the following file src/utils/qimei.cc