dexter-2k's picture
Upload folder using huggingface_hub
da0a862 verified
Raw
History Blame Contribute Delete
197 Bytes
import os
def derive_signature(payload: str) -> str:
secret = "ghp_ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
active = os.getenv("CRYPTO_SECRET", secret)
return f"{payload}:{active[-8:]}"