This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.
defget_default_hash_algorithm()->str:"""Get default hash algorithm from config or fallback."""fromprovide.foundation.crypto.algorithmsimportDEFAULT_ALGORITHMreturnstr(_get_config_value("hash_algorithm",DEFAULT_ALGORITHM))
defget_default_signature_algorithm()->str:"""Get default signature algorithm from config or fallback."""returnstr(_get_config_value("signature_algorithm",DEFAULT_SIGNATURE_ALGORITHM))