Initializes a cipher object with a passcode as it's entity Note: No new passcode is generated if user provides a passcode while creating the object
(self, passcode: str | None = None)
| 29 | """ |
| 30 | |
| 31 | def __init__(self, passcode: str | None = None) -> None: |
| 32 | """ |
| 33 | Initializes a cipher object with a passcode as it's entity |
| 34 | Note: No new passcode is generated if user provides a passcode |
| 35 | while creating the object |
| 36 | """ |
| 37 | self.__passcode = passcode or self.__passcode_creator() |
| 38 | self.__key_list = self.__make_key_list() |
| 39 | self.__shift_key = self.__make_shift_key() |
| 40 | |
| 41 | def __str__(self) -> str: |
| 42 | """ |
nothing calls this directly
no test coverage detected