MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-577737.py

File recipe-577737.py

recipes/Python/577737_Public_Key_Encryption_RSA/recipe-577737.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from fractions import gcd
2from random import randrange
3from collections import namedtuple
4from math import log

Callers

nothing calls this directly

Calls 5

printFunction · 0.85
keygenFunction · 0.70
encodeFunction · 0.70
decodeFunction · 0.70
namedtupleFunction · 0.50

Tested by

no test coverage detected