# Pour fonctionner correctement, le module de # cryptographie - cryptographie.rb - doit être # dans le répertoire courant. # Le cryptogramme - cryptogramme1.txt - doit # aussi être dans le répertoire courant. load "cryptographie.rb" str=File.read("cryptogramme1.txt") str=str.nettoie for i in 1..25 print i," " res=str.substitution(cesar(i)) puts res[0..20] end