Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ diffie.py
File
diffie.py
ciphers/diffie.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
__future__
import
annotations
2
3
4
def
find_primitive(modulus: int) -> int | None:
Callers
nothing calls this directly
Calls
1
find_primitive
Function · 0.85
Tested by
no test coverage detected