mirror of
https://bitbucket.org/Mattrixwv/pypherstream.git
synced 2025-12-07 02:53:59 -05:00
Added the beginings of all classes and functions
Nothing is currently implemented
This commit is contained in:
50
Morse.py
Normal file
50
Morse.py
Normal file
@@ -0,0 +1,50 @@
|
||||
#PypherStream/Morse.py
|
||||
#Matthew Ellison
|
||||
# Created: 03-30-19
|
||||
#Modified: 03-30-19
|
||||
#This file contains the Morse class for the PypherStream Project.
|
||||
#This class takes input and uses a Morse Cipher to encode or decode a message.
|
||||
#This is a Python port of the CipherStream program found at https://bitbucket.org/Mattrixwv/CipherStream
|
||||
|
||||
|
||||
class Morse:
|
||||
__version = "1.0"
|
||||
__code = [""] #Holds the Morse representation of the alphanumeric characters
|
||||
def __init__(self):
|
||||
self.__inputString = "" #The string that needs encoded/decoded
|
||||
self.__outputString = "" #The encoded/decoded message
|
||||
#Encodes inputString snd stores the result in outputString
|
||||
def __encode(self) -> str:
|
||||
NotImplemented
|
||||
#Decodes inputString snd stores the result in outputString
|
||||
def __decode(self) -> str:
|
||||
NotImplemented
|
||||
#Encodes input and returns the result
|
||||
def __setEncodeInputString(self, input: str):
|
||||
NotImplemented
|
||||
#Decodes input and returns the result
|
||||
def __setDecodeInputString(self, input: str):
|
||||
NotImplemented
|
||||
#Returns inputString
|
||||
def getInputString(self) -> str:
|
||||
NotImplemented
|
||||
#Returns outputString
|
||||
def getOutputString(self) -> str:
|
||||
NotImplemented
|
||||
#Encodes input and returns the result
|
||||
def encode(self, input: str) -> str:
|
||||
NotImplemented
|
||||
#Decodes input and returns the result
|
||||
def decode(self, input: str) -> str:
|
||||
NotImplemented
|
||||
#Makes sure all variables are empty
|
||||
def reset(self):
|
||||
NotImplemented
|
||||
#Returns the version of the library
|
||||
@classmethod
|
||||
def getVersion(cls) -> str:
|
||||
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