МП
Size: a a a
МП
МП
MA
MA
DU
DU
DU
˸A
${key} ${Math.round(memoryUsage[key] / 1024 / 1024 * 100) / 100} MB
);r
DH
МЖ
МЖ
приклад коду на ПХП// 256 bit
$msg = env('APP_TOKEN') . env('APP_ID');
$key = random_bytes(SODIUM_CRYPTO_SECRETBOX_KEYBYTES);
$nonce = random_bytes(SODIUM_CRYPTO_SECRETBOX_NONCEBYTES);
// 24 bytes$hash = sodium_crypto_secretbox($msg, $nonce, $key);bin2hex
$response = [
"auth" => [
"app_id" => env('APP_ID'),
"key" =>
($key),bin2hex
"nonce" =>
($nonce),bin2hex
"hash" =>
($hash),
]
];
МЖ
DU
S
G~
YB
МП
VZ