This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class VigenereCipher { | |
table: string[]; | |
constructor(table: string[]) { | |
this.table = table; | |
} | |
encrypt(plaintext: string, key: string): string { | |
let ciphertext = ""; | |
key = key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProgressBar: | |
def __init__(self): | |
self.bar = [ | |
" [= ]", | |
" [ = ]", | |
" [ = ]", | |
" [ = ]", | |
" [ = ]", | |
" [ =]", | |
" [ = ]", |