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
import random | |
from hashlib import sha256 | |
def coprime(a, b): | |
while b != 0: | |
a, b = b, a % b | |
return a | |
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
''' | |
author: cYpHeR | |
Github: cypher-nullbyte | |
''' | |
# ----------------------- | |
# We assume that our input text is only lowercase string of alphabets without spaced | |
# LET US START | |
def Ceaser_encrypt(text,s): |