mirror of
https://bitbucket.org/Mattrixwv/pypherstream.git
synced 2026-02-04 04:02:30 -05:00
Added the beginings of all classes and functions
Nothing is currently implemented
This commit is contained in:
39
Autokey.py
Normal file
39
Autokey.py
Normal file
@@ -0,0 +1,39 @@
|
||||
#PypherStream/Autokey.py
|
||||
#Matthew Ellison
|
||||
# Created: 03-30-19
|
||||
#Modified: 03-30-19
|
||||
#This file contains the Autokey class for the PypherStream Project.
|
||||
#This class takes input and uses a Autokey Cipher to encode or decode a message.
|
||||
#This is a Python port of the CipherStream program found at https://bitbucket.org/Mattrixwv/CipherStream
|
||||
|
||||
|
||||
from Vigenere import Vigenere
|
||||
|
||||
|
||||
class Autokey(Vigenere):
|
||||
__version = "1.0" #The version of the library
|
||||
def __init__(self):
|
||||
NotImplemented
|
||||
#Special rules for setting the strings for encoding
|
||||
def __encodeSet(self, key: str, input: str):
|
||||
NotImplemented
|
||||
#Setting the strings for decoding
|
||||
def __decodeSet(self, key: str, input: str):
|
||||
NotImplemented
|
||||
#Decodes the inputString
|
||||
def __decode(self) -> str:
|
||||
NotImplemented
|
||||
#Encodes inputString using the Autokey cipher
|
||||
def encode(self, key: str, input: str) -> str:
|
||||
NotImplemented
|
||||
#Decodes inputString using the Autokey cipher
|
||||
def decode(self, key: str, input: str) -> str:
|
||||
NotImplemented
|
||||
#Returns the version number of the library
|
||||
@classmethod
|
||||
def getVersion(self):
|
||||
NotImplemented
|
||||
|
||||
#This will run the appropriate commands if this script is called stand alone instead of with the rest of the PypherStream program
|
||||
if __name__ == "__main__":
|
||||
NotImplemented
|
||||
Reference in New Issue
Block a user