mirror of
https://bitbucket.org/Mattrixwv/pypherstream.git
synced 2025-12-06 18:43:58 -05:00
Added the beginings of all classes and functions
Nothing is currently implemented
This commit is contained in:
45
Atbash.py
Normal file
45
Atbash.py
Normal file
@@ -0,0 +1,45 @@
|
||||
#PypherStream/Atbash.py
|
||||
#Matthew Ellison
|
||||
# Created: 03-30-19
|
||||
#Modified: 03-30-19
|
||||
#This file contains the Atbash class for the PypherStream Project.
|
||||
#This class takes input and uses a Atbash Cipher to encode or decode a message.
|
||||
#This is a Python port of the CipherStream program found at https://bitbucket.org/Mattrixwv/CipherStream
|
||||
|
||||
|
||||
class Atbash:
|
||||
__version = "1.0" #The version of the library
|
||||
def __init__(self):
|
||||
self.__inputString = "" #Holds the sting that needs encoded or decoded
|
||||
self.__outputString = "" #Holds the encoded/decoded string
|
||||
#Decodes inputString and stores in outputString
|
||||
def __decode(self) -> str:
|
||||
NotImplemented
|
||||
#Encodes inputString and stores in outputSting
|
||||
def __encode(self) -> str:
|
||||
NotImplemented
|
||||
#Removes all invalid characters
|
||||
def __setInputString(self, input: str):
|
||||
NotImplemented
|
||||
#Returns the inputString
|
||||
def getInputString(self) -> str:
|
||||
NotImplemented
|
||||
#Returns the outputString
|
||||
def getOutputString(self) -> str:
|
||||
NotImplemented
|
||||
#Takes the input string and encodes it, returning the new message
|
||||
def encode(self, imput: str) -> str:
|
||||
NotImplemented
|
||||
#Takes the input string and decodes it, returning the new message
|
||||
def decode(self, input: str) -> str:
|
||||
NotImplemented
|
||||
#Makes sure all elements are empty
|
||||
def reset(self):
|
||||
NotImplemented
|
||||
#Returns the version of the library
|
||||
def getVersion(self) -> 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