(self)
| 14 | continue |
| 15 | |
| 16 | def encrypt_string(self) -> str: |
| 17 | output = "" |
| 18 | for c in self.blank_string: |
| 19 | for k,v in self.key.items(): |
| 20 | if k == c: |
| 21 | output += v |
| 22 | else: |
| 23 | continue |
| 24 | self.decrypted_string = output |
| 25 | return(output) |
| 26 | |
| 27 | def decrypt_string(self, string: str) -> str: |
| 28 | output = "" |