Skip to content

Commit bcc9596

Browse files
committed
Cleaning declarations in Ciphers.
Ensuring no errors are thrown assuming that these imports are run in the same package , allows for dry runs without spitting errors.
1 parent dc5c576 commit bcc9596

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ciphers/affine_cipher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sys, random, cryptomath_module as cryptoMath
1+
import sys, random, ciphers.cryptomath_module as cryptoMath
22

33
SYMBOLS = """ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"""
44

ciphers/rsa_cipher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sys, rsa_key_generator as rkg, os
1+
import sys, ciphers.rsa_key_generator as rkg, os
22

33
DEFAULT_BLOCK_SIZE = 128
44
BYTE_SIZE = 256

ciphers/rsa_key_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import random, sys, os
2-
import rabin_miller as rabinMiller, cryptomath_module as cryptoMath
2+
import ciphers.rabin_miller as rabinMiller, ciphers.cryptomath_module as cryptoMath
33

44
def main():
55
print('Making key files...')

ciphers/transposition_cipher_encrypt-decrypt_file.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import time, os, sys
2-
import transposition_cipher as transCipher
2+
import ciphers.transposition_cipher as transCipher
33

44
def main():
55
inputFile = 'Prehistoric Men.txt'

0 commit comments

Comments
 (0)