Skip to content

Instantly share code, notes, and snippets.

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

Pavel Miron Mihalachi pmiron

🏠
Working from home
View GitHub Profile
#Kasiski-Babbage cryptanalysis to get the text encripted with Vigenere
import fractions
import functools
import re #Import regular expresions
from collections import Counter
#----------------------------------------------------------------------------------------------
#Search for the words with the given frecuency and length
# @originalString [string]: the original text