Rebrand the Rust client crate (coven/ → hh/, package+binary "hack-house"), README, CLI strings, and branch (coven → hack-house). Gitea repo renamed cmd-chat → hack-house to match. Crypto/server logic unchanged; selftest + golden-vector test still green, binary is now `hack-house`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
32 lines
653 B
Python
32 lines
653 B
Python
|
|
_mod = None
|
|
|
|
try:
|
|
import srp._ctsrp
|
|
_mod = srp._ctsrp
|
|
except (ImportError, OSError):
|
|
pass
|
|
|
|
if not _mod:
|
|
import srp._pysrp
|
|
_mod = srp._pysrp
|
|
|
|
User = _mod.User
|
|
Verifier = _mod.Verifier
|
|
create_salted_verification_key = _mod.create_salted_verification_key
|
|
|
|
SHA1 = _mod.SHA1
|
|
SHA224 = _mod.SHA224
|
|
SHA256 = _mod.SHA256
|
|
SHA384 = _mod.SHA384
|
|
SHA512 = _mod.SHA512
|
|
|
|
NG_1024 = _mod.NG_1024
|
|
NG_2048 = _mod.NG_2048
|
|
NG_4096 = _mod.NG_4096
|
|
NG_8192 = _mod.NG_8192
|
|
NG_CUSTOM = _mod.NG_CUSTOM
|
|
|
|
rfc5054_enable = _mod.rfc5054_enable
|
|
no_username_in_x = _mod.no_username_in_x
|