Skip to content

Instantly share code, notes, and snippets.

View naveedqadir's full-sized avatar
🏠
Working from home

Naveed Qadir naveedqadir

🏠
Working from home
View GitHub Profile
@naveedqadir
naveedqadir / rsa.py
Created September 18, 2021 16:15 — forked from ErbaAitbayev/rsa.py
Simple Python RSA for digital signature with hashing implementation. For hashing SHA-256 from hashlib library is used.
import random
from hashlib import sha256
def coprime(a, b):
while b != 0:
a, b = b, a % b
return a
@jednano
jednano / gitcom.md
Last active September 21, 2024 23:12
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

git init