Skip to content

Instantly share code, notes, and snippets.

View s4yed's full-sized avatar
🎯
Focusing

Ahmed Sayed s4yed

🎯
Focusing
View GitHub Profile
@s4yed
s4yed / rsa.py
Created March 20, 2020 16:49
This is my code for RSA angstromCTF 2020.
#!/usr/bin/env python
def modinv(a, m) :
a = a % m;
for x in range(1, m) :
if ((a * x) % m == 1) :
return x
return 1
n = 126390312099294739294606157407778835887
e = 65537
@s4yed
s4yed / SpringerBooks.py
Last active June 16, 2020 18:18
Springer Machine Learning and Data Science Books.
'''
*-------------------------------------------------------------
* Copyright (c) Ahmed Sayed. All rights reserved.
* Licensed under the MIT License.
* Title: SpringerBooks.py
* Date: 2020-05-01 11:33:21
*-------------------------------------------------------------
Excute the following commands to install the dependencies before running the script: