Skip to main content

common_http_client_token

Function common_http_client_token 

Source
pub fn common_http_client_token(unix_ts: i64) -> Option<String>
Expand description

Build the C++ common HTTP client_token.

Ref: FutuOpenD/Src/NNProtoCenter/Login/NNDataUrl.cpp:222-235 NNDataUrl::GetTimeEncryptKey() writes server time into a 16-byte block, encrypts it with AES-128 using ASCII key PEHMABDNLXIOG65U, then hex encodes the encrypted block.