OVH Cloud OVH Cloud

Bon, un peu de crypto, défi #1-09-2k6

19 réponses
Avatar
Arnold McDonald \(AMcD\)
Bien, je vois qu'on s'éloigne un peu de la crypto là. Alors, un petit post
pour recadrer les stats.

Puisqu'on a causé d'anagrames, voici un petit défi.

a1 b2 c4 d1 e4 f1 i2 k2 l2 m1 n4 o7 s6 t2 u1 w1

Cette technique étaient utilisée dès le 16 ou 17e (chépu) par les
scientifiques. On a des exemples de Huyghens, Newton, etc. Ici, il s'agit
d'une citation de Bacon (en anglais, faut bien que vous cogitiez un peu !).

Bon courage.

--
Arnold McDonald (AMcD)

http://arnold.mcdonald.free.fr/

10 réponses

1 2
Avatar
Serge Paccalin

Bien, je vois qu'on s'éloigne un peu de la crypto là. Alors, un pet it post
pour recadrer les stats.

Puisqu'on a causé d'anagrames, voici un petit défi.

a1 b2 c4 d1 e4 f1 i2 k2 l2 m1 n4 o7 s6 t2 u1 w1

Cette technique étaient utilisée dès le 16 ou 17e (chépu) par l es
scientifiques. On a des exemples de Huyghens, Newton, etc. Ici, il s'ag it
d'une citation de Bacon (en anglais, faut bien que vous cogitiez un peu !).


Chaque lettre est suivie de son nombre d'occurrences ? Autrement dit, il
faut trouver une anagramme de :
« abbccccdeeeefiikkllmnnnnooooooossssssttuw » ?

--
___________
_/ _ _`_`_`_) Serge PACCALIN -- sp ad mailclub.net
_L_) Pour bien répondre avec Google, ne pas cliquer
-'(__) « Répondre », mais « Afficher les options »,
_/___(_) puis cliquer « Répondre » (parmi les options).

Avatar
Arnold McDonald \(AMcD\)
Serge Paccalin wrote:

Chaque lettre est suivie de son nombre d'occurrences ? Autrement dit,
il faut trouver une anagramme de :
« abbccccdeeeefiikkllmnnnnooooooossssssttuw » ?


Eh oui. Pas facile la vie de casseur de code hein ?

--
Arnold McDonald (AMcD)

http://arnold.mcdonald.free.fr/

Avatar
Alain Gaillard

Chaque lettre est suivie de son nombre d'occurrences ? Autrement dit, il
faut trouver une anagramme de :
« abbccccdeeeefiikkllmnnnnooooooossssssttuw » ?


Ah mais attention! anagramme hermétique ou pas ? ;-)


--
Alain

Avatar
Yves

Chaque lettre est suivie de son nombre d'occurrences ? Autrement dit, il
faut trouver une anagramme de :
« abbccccdeeeefiikkllmnnnnooooooossssssttuw » ?


Ah mais attention! anagramme hermétique ou pas ? ;-)


Oui, car il faut deviner le nombre d'espaces ! :)


Avatar
Serge Paccalin

Eh oui. Pas facile la vie de casseur de code hein ?


On peut casser autre chose que du code, pour se détendre. Moi-même, c es
derniers jours, je me suis fait mal aux mains, à casser du mystique à
mains nues ...

--
___________
_/ _ _`_`_`_) Serge PACCALIN -- sp ad mailclub.net
_L_) Pour bien répondre avec Google, ne pas cliquer
-'(__) « Répondre », mais « Afficher les options »,
_/___(_) puis cliquer « Répondre » (parmi les options).

Avatar
Arnold McDonald \(AMcD\)
Serge Paccalin wrote:

On peut casser autre chose que du code, pour se détendre. Moi-même,
ces derniers jours, je me suis fait mal aux mains, à casser du
mystique à mains nues ...


J'ai personellement rapidement abandonné. Ce n'est pas que je n'aime pas
débattre, mais lorsque tu lis les "explications" de notre ami
Nostradamusien, tu vois vite que le débat va aller dans une impasse.

--
Arnold McDonald (AMcD)

http://arnold.mcdonald.free.fr/

Avatar
Arnold McDonald \(AMcD\)
Sans piste, c'est un peu difficile. Alors, deux-trois trucs.

- C'est en anglais ;
- Cela parle de science ;
- On y parle de livre.

Je relève les copie à la fin du mois.

--
Arnold McDonald (AMcD)

http://arnold.mcdonald.free.fr/
Avatar
hg
Arnold McDonald (AMcD) wrote:
Bien, je vois qu'on s'éloigne un peu de la crypto là. Alors, un petit post
pour recadrer les stats.

Puisqu'on a causé d'anagrames, voici un petit défi.

a1 b2 c4 d1 e4 f1 i2 k2 l2 m1 n4 o7 s6 t2 u1 w1

Cette technique étaient utilisée dès le 16 ou 17e (chépu) par les
scientifiques. On a des exemples de Huyghens, Newton, etc. Ici, il s'agit
d'une citation de Bacon (en anglais, faut bien que vous cogitiez un peu !).

Bon courage.

Première tentative (très bourin ... faut affiner)


résultat sur 100000 test sur les citations listées dans le prg (plus le
chiffre est haut plus je regarde la citation de près:


3==>Houses are built to live in, not to look on therefore let use be
preferred before uniformity, except where both may be had
6==>A wise man will make more opportunities than he finds
8==>They are ill discoverers that think there is no land when they can
see nothing but sea
2==>In taking revenge a man is but even with his enemy but in passing it
over he is superior
1==>I have taken all knowledge to be my province
1==>He of whom many are afraid ought to fear many
6==>Some books are to be tasted others to be swallowed and some few to
be chewed and digested that is some books are to be read only in parts
others to be read but not curiously and some few to be read wholly and
with diligence and attention
2==>Praise from the common people is generally false and rather follows
the vain than the virtuous
1==>The worst solitude is to be destitute of sincere friendship
4==>Read not to contradict and confute nor to find talk and discourse
but to weigh and consider
2==>Hope is a good breakfast but it is a bad supper
6==>Choose the life that is most useful and habit will make it the most
agreeable
8==>Seek ye first the good things of the mind and the rest will either
be supplied or its loss will not be felt
6==>If a man will begin with certainties he shall end in doubts but if
he will be content to begin with doubts he shall end in certainties
1==>By far the best proof is experience
2==>Men fear death as children fear to go in the dark and as that
natural fear in children is increased by tales so is the other
2==>There is no excellent beauty that hath not some strangeness in the
proportion
3==>Death is a friend of ours and he that is not ready to entertain him
is not at home
4==>Read not to contradict and confute not to believe and take for
granted not to find talk and discourse but to weigh and consider
3==>Reading maketh a full man conference a ready man and writing an
exact man
3==>Certainly virtue is like precious odors most fragrant when they are
incensed or crushed: for prosperity doth best discover vice but
adversity doth best discover virtue
1==>Natural abilities are like natural plants they need pruning by study
6==>Revenge is a kind of wild justice which the more mans nature runs to
the more ought law to weed it out
0==>Discretion in speech is more than eloquence
1==>Silence is the virtue of fools



**********************



#V 0.1


import random
#no


quotes = [
"A wise man will make more opportunities than he finds",
"By far the best proof is experience",
"Certainly virtue is like precious odors most fragrant when they are
incensed or crushed: for prosperity doth best discover vice but
adversity doth best discover virtue",
"Choose the life that is most useful and habit will make it the most
agreeable",
"Death is a friend of ours and he that is not ready to entertain him
is not at home",
"Discretion in speech is more than eloquence",
"He of whom many are afraid ought to fear many",
"Hope is a good breakfast but it is a bad supper",
"I have taken all knowledge to be my province",
"If a man will begin with certainties he shall end in doubts but if
he will be content to begin with doubts he shall end in certainties",
"In taking revenge a man is but even with his enemy but in passing
it over he is superior",
"Natural abilities are like natural plants they need pruning by study",
"Praise from the common people is generally false and rather follows
the vain than the virtuous",
"Read not to contradict and confute nor to find talk and discourse
but to weigh and consider",
"Read not to contradict and confute not to believe and take for
granted not to find talk and discourse but to weigh and consider",
"Reading maketh a full man conference a ready man and writing an
exact man",
"Revenge is a kind of wild justice which the more mans nature runs
to the more ought law to weed it out",
"Seek ye first the good things of the mind and the rest will either
be supplied or its loss will not be felt",
"Silence is the virtue of fools",
"Some books are to be tasted others to be swallowed and some few to
be chewed and digested that is some books are to be read only in parts
others to be read but not curiously and some few to be read wholly and
with diligence and attention",
"The worst solitude is to be destitute of sincere friendship",
"They are ill discoverers that think there is no land when they can
see nothing but sea",
"There is no excellent beauty that hath not some strangeness in the
proportion",
"Men fear death as children fear to go in the dark and as that
natural fear in children is increased by tales so is the other",
"Houses are built to live in, not to look on therefore let use be
preferred before uniformity, except where both may be had",
]


#build dic

d = {}

for i in quotes:
d[i] = 0

keys = []
skip_letter = ['g', 'h', 'j', 'k', 'p', 'q', 'r' ,'v', 'x', 'y' ,'z']





s = 'abbccccdeeeefiikkllmnnnnooooooossssssttuw'
l = []
min_length = 2
#build check keys
for quote in quotes:
quote = quote.split()
for word in quote:
word = word.lower()
for letter in skip_letter:
add = True
if letter in word:
add = False
break

if True == add:
if word not in keys and min_length < len(word):
keys.append(word)

print keys

fkeys =[]
for i in range (100000):
a = []
a.extend(s)
random.shuffle(a)
s = "".join(a)
for k in keys:
if -1 != s.find(k):
if k not in fkeys:
# print 'KEY ', k, 'IN STRING ', s
fkeys.append(k)

print 'WORD LIST ', fkeys

for word in fkeys:
for i in d:
if word in i:
d[i] += 1
f = open("results.dat","w")
for i in d:
print i, "==> ", d[i]
s = "%d==>%sn"% (d[i], i)
f.write(s)
f.close()

print "done"

Avatar
Serge Paccalin
Sans piste, c'est un peu difficile. Alors, deux-trois trucs.

- C'est en anglais ;
- Cela parle de science ;
- On y parle de livre.

Je relève les copie à la fin du mois.



Obbxf zhfg sbyybj fpvraprf, naq abg fpvraprf obbxf.

--
___________
_/ _ _`_`_`_) Serge PACCALIN -- sp ad mailclub.net
_L_) Pour bien répondre avec Google, ne pas cliquer
-'(__) « Répondre », mais « Afficher les options »,
_/___(_) puis cliquer « Répondre » (parmi les options).

Avatar
jpm
"Serge Paccalin" a écrit dans le message
de news: 45100457$0$18658$

Eh oui. Pas facile la vie de casseur de code hein ?


On peut casser autre chose que du code, pour se détendre. Moi-même, ces
derniers jours, je me suis fait mal aux mains, à casser du mystique à
mains nues ...
-------------------

Dites que vous avez su répondre à tous les arguments, faute de connaissances
approfondies sur le contexte culturel.

Papyrus de Rhind ?
Grammaire de Champollion?
Géométrie Egyptiennes Théophile Obenga
Grammaire Hébraîque ?

les origines sacrées des sciences modernes - Charles Morazé?

--
___________
_/ _ _`_`_`_) Serge PACCALIN -- sp ad mailclub.net
_L_) Pour bien répondre avec Google, ne pas cliquer
-'(__) « Répondre », mais « Afficher les options »,
_/___(_) puis cliquer « Répondre » (parmi les options).

1 2