Skip to content

Instantly share code, notes, and snippets.

View tanaydin's full-sized avatar
🐌
i love snails

tanaydin sirin tanaydin

🐌
i love snails
View GitHub Profile
@tanaydin
tanaydin / ecc.py
Created July 18, 2018 15:26 — forked from bellbind/ecc.py
[python]basics of elliptic curve cryptography
# Basics of Elliptic Curve Cryptography implementation on Python
import collections
def inv(n, q):
"""div on PN modulo a/b mod q as a * inv(b, q) mod q
>>> assert n * inv(n, q) % q == 1
"""
for i in range(q):
if (n * i) % q == 1:
// ==UserScript==
// @name Dizipal video oncesi reklam gecici
// @version 2024-02-03
// @namespace https://dizipal845.com/
// @description Dizipal video oncesi reklamlari gecmek icin bir user script
// @author You
// @include https://dizipal*.com/*
// @icon https://dizipal845.com/favicon-32x32.png
// @grant none
// ==/UserScript==