Three isolated services (alert scraper, apply HTTP worker, web UI+DB) with argon2 auth, signed cookies, CSRF, rate-limited login, kill switch, apply circuit breaker, audit log, and strict CSP. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 lines
No EOL
142 B
Python
6 lines
No EOL
142 B
Python
import hashlib
|
|
import pickle
|
|
|
|
def hash_any_object(var):
|
|
byte_stream = pickle.dumps(var)
|
|
return hashlib.sha256(byte_stream).hexdigest() |