cs_Cyrus
Messages postés47Date d'inscriptionmercredi 21 novembre 2001StatutMembreDernière intervention 2 avril 2007
-
9 janv. 2002 à 13:30
djicfr
Messages postés24Date d'inscriptiondimanche 15 juin 2003StatutMembreDernière intervention27 mars 2005
-
7 avril 2004 à 19:41
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.
djicfr
Messages postés24Date d'inscriptiondimanche 15 juin 2003StatutMembreDernière intervention27 mars 2005 7 avril 2004 à 19:41
C'est quoi tous ces If !!!!
cs_Majen
Messages postés18Date d'inscriptionjeudi 19 juillet 2001StatutMembreDernière intervention26 janvier 2002 11 janv. 2002 à 22:45
merci, oui je sais, on pourrait faire plus simple, plus efficase et plus cours, ms c'est juste un exemple :]
cs_Cyrus
Messages postés47Date d'inscriptionmercredi 21 novembre 2001StatutMembreDernière intervention 2 avril 2007 9 janv. 2002 à 13:41
Tu peux simplifier tes tests en faisant ceci :
x=asc(Mid$(Text1, i, 1))
if x>64 and x<91 then xx=x-64
if x>96 and x<123 then xx=x-95
xxx = asc(Mid$(Text3, i, 1))
if xxx>64 and xxx<91 then xxxx=xxx-64
if xxx>96 and xxx<123 then xxxx=xxx-95
puis pour y : yy=chr(64+y)
TTMan
Messages postés104Date d'inscriptionlundi 17 décembre 2001StatutMembreDernière intervention12 février 2007 9 janv. 2002 à 13:30
Bien, mais quelle est la protection effective?
(réponds à tt123it@yahoo.fr)
TTMan
cs_Cyrus
Messages postés47Date d'inscriptionmercredi 21 novembre 2001StatutMembreDernière intervention 2 avril 2007 9 janv. 2002 à 13:30
J'aime beaucoup ta méthode de cryptage. Mais il y a encore un moyen de l'améliorer : si tu places plus d'une clef pour coder ton message, celui-ci deviendra totalement inviolable.
7 avril 2004 à 19:41
11 janv. 2002 à 22:45
9 janv. 2002 à 13:41
x=asc(Mid$(Text1, i, 1))
if x>64 and x<91 then xx=x-64
if x>96 and x<123 then xx=x-95
xxx = asc(Mid$(Text3, i, 1))
if xxx>64 and xxx<91 then xxxx=xxx-64
if xxx>96 and xxx<123 then xxxx=xxx-95
puis pour y : yy=chr(64+y)
9 janv. 2002 à 13:30
(réponds à tt123it@yahoo.fr)
TTMan
9 janv. 2002 à 13:30