Skip to content

Instantly share code, notes, and snippets.

View DiegoVallejoDev's full-sized avatar
🏠
Working from home

Diego Vallejo DiegoVallejoDev

🏠
Working from home
View GitHub Profile
class ProgressBar:
def __init__(self):
self.bar = [
" [= ]",
" [ = ]",
" [ = ]",
" [ = ]",
" [ = ]",
" [ =]",
" [ = ]",
@DiegoVallejoDev
DiegoVallejoDev / Vigenere.ts
Created June 18, 2024 18:14
Vigenère cipher test
class VigenereCipher {
table: string[];
constructor(table: string[]) {
this.table = table;
}
encrypt(plaintext: string, key: string): string {
let ciphertext = "";
key = key