27 lines
718 B
Python
27 lines
718 B
Python
"""Generic KWSG atlasSign helpers for 24-byte digest envelopes.
|
|
|
|
`MXSec.atlasSign` returns the short ZT form:
|
|
|
|
head8 + xor16(24-byte digest)
|
|
|
|
The recovered 10418 reward body sign and DFP 10405 atlasSign samples share this
|
|
envelope and the same `innerFlag=true` digest pipeline.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .reward_sign import (
|
|
KWSG_10418_SIGN_HMAC_KEY as ATLAS_SIGN_HMAC_KEY,
|
|
kwsg_10418_reward_sign as atlas_sign,
|
|
kwsg_10418_reward_sign_from_digest_hex as atlas_sign_from_digest_hex,
|
|
kwsg_10418_reward_sign_to_digest_hex as atlas_sign_to_digest_hex,
|
|
)
|
|
|
|
|
|
__all__ = [
|
|
"ATLAS_SIGN_HMAC_KEY",
|
|
"atlas_sign",
|
|
"atlas_sign_from_digest_hex",
|
|
"atlas_sign_to_digest_hex",
|
|
]
|