This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from base64 import urlsafe_b64decode | |
import hmac | |
from hashlib import sha256 | |
import rsa | |
from rsa.transform import bytes2int, int2bytes | |
import pyaes | |
# RSA Key described in A.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc -fpic --shared $(python-config --includes) greetmodule.c -o greetmodule.so |