äœäžçŽãã®éã人ã ã¯æ å ±ãé ãå·§åŠãªæ¹æ³-æå·ãæãã€ããŸããããä»ã®äººã ã¯æ å ±ãé ãããã«å·§åŠãªæ¹æ³-ãããã³ã°æ¹æ³ãæãã€ããŸããã
ãã®ãããã¯ã§ã¯ãæãæåãªå€å žçãªæå·åæ¹æ³ãç°¡åã«èª¬æããããããã®ãããã³ã°æè¡ã«ã€ããŠèª¬æããŸãã
ã·ãŒã¶ãŒã®ã³ãŒã
æ軜éãã€æãæåãªå€å žæå·ã®1ã€-ã·ãŒã¶ãŒã®æå·ã¯é£åé ã®åœ¹å²ã«æé©ã§ãã
Caesarã®æå·ã¯ãããããåäžã¢ã«ãã¡ããã眮ææå·ã®ã°ã«ãŒãã«å±ããŸãã ãã®ã°ã«ãŒãã®æå·ã䜿çšããå Žåããå¹³æã®åæåã¯ãåãã¢ã«ãã¡ãããã®ãã®ããŒã«åºå®ãããæåã«çœ®ãæããããŸãã wiki ã
ããŒã®éžææ¹æ³ã¯ç°ãªãå ŽåããããŸãã Caesarã®æå·ã®ããŒã¯ã1ã25ã®ç¯å²ã§éžæãããä»»æã®æ°åkã§ããå¹³æã®åæåã¯ãã¢ã«ãã¡ããããããkæåé·ãæåã«çœ®ãæããããŸãã ããšãã°ãããŒãæ°å3ãšããŸãããã®åŸãè±èªã®ã¢ã«ãã¡ãããã®æåAã¯æåDã«ãæåBã¯æåEã«ããšããããã«çœ®ãæããããŸãã
æ確ã«ããããã«ãããŒk = 7ã®Caesarã®æå·ã§HABRAHABRãšããåèªãæå·åããŸãã ã«ãã¯ã¢ããããŒãã«ãäœæããŸãããã
a | b | c | d | e | f | g | h | ç§ã¯ | j | k | l | m | n | o | p | q | r | s | t | ããªã㯠| v | w | x | y | z |
h | ç§ã¯ | j | k | l | m | n | o | p | q | r | s | t | ããªã㯠| v | w | x | y | z | a | b | c | d | e | f | g |
ãããŠãããã¹ãå ã®åæåã眮ãæãããšãCïŒ 'HABRAHABR'ã7ïŒ= 'OHIYHOHIY'ã«ãªããŸãã
ãã³ãŒãæã«ãåæåã¯ã¢ã«ãã¡ãããã®kæååã®æåã«çœ®ãæããããŸãïŒDïŒ 'OHIYHOHIY'ã7ïŒ= 'HABRAHABR'ã
ã·ãŒã¶ãŒã®æå·ã®æå·è§£èª
å°ããªããŒã¹ããŒã¹ïŒ25ãªãã·ã§ã³ã®ã¿ïŒã«ããããã«ãŒããã©ãŒã¹ãæãå¹æçã§æãç°¡åãªæ»æãªãã·ã§ã³ã«ãªããŸãã
éãã«ã¯ãæå·æã®åæåãã¢ã«ãã¡ãããã®å·ŠåŽã®1æåã®æåã«çœ®ãæããå¿ èŠããããŸãã ãã®çµæãèªã¿åãå¯èœãªã¡ãã»ãŒãžãååŸã§ããªãå Žåãã¢ã¯ã·ã§ã³ãç¹°ãè¿ãå¿ èŠããããŸãããæåããã§ã«2æåå·Šã«ã·ããããŠããŸãã ãªã©ãçµæãèªã¿ãããããã¹ãã«ãªããŸã§ã
ã¢ãã£ããã£ã³ãŒã
ã¢ãã£ã³æå·ãšåŒã°ãããããå°ãèå³æ·±ãåäžè±æ°åã®çœ®ææå·ãèããŠã¿ãŸãããã ãŸããåçŽãªçœ®æãå®è£ ããŸãããCaesarã®æå·ã«æ¯ã¹ãŠãããã«å€§ããªããŒã¹ããŒã¹ãæäŸããŸãã ã¢ãã£ã³ã³ãŒãã§ã¯ããµã€ãºmã®ã¢ã«ãã¡ãããã®åæåã«0ãm -1ã®ç¯å²ã®çªå·ãå²ãåœãŠãããŸãã 次ã«ãç¹å¥ãªåŒã䜿çšããŠãæå·æã®å€ãæ°å€ã眮ãæããæ°ããæ°å€ãèšç®ãããŸãã
æå·åããã»ã¹ã¯ã次ã®åŒã§èª¬æã§ããŸãã
ã
xã¯ã¢ã«ãã¡ãããã®æå·åãããæåã®çªå·ã§ãã mã¯ã¢ã«ãã¡ãããã®ãµã€ãºã§ãã aãbã¯æå·åããŒã§ãã
埩å·åã®ããã«ãå¥ã®é¢æ°ãèšç®ãããŸãïŒ
ã
ããã§ãa -1ã¯ã¢ãžã¥ãmã®éæ°ã§ãã ããã¯ãæ£ãã埩å·åã®ããã«ãæ°aã¯mãšäºãã«çŽ ã§ãªããã°ãªããªãããšãæå³ããŸãã
ãã®å¶éãèæ ®ããŠãäŸãšããŠè±èªã®ã¢ã«ãã¡ãããã䜿çšããŠã¢ãã£ã³æå·ã®ããŒã¹ããŒã¹ãèšç®ããŸãã è±èªã®ã¢ã«ãã¡ãããã«ã¯26æåãå«ãŸããŠããããã26ã®çžäºçŽ æ°ã®ã¿ããšããŠéžæã§ããŸãã ãã®ãããªæ°å€ã¯12åãããŸãã1ã3ã5ã7ã9ã11ã15ã17ã19ã21ã23ã25ã§ããæ°å€b㯠ã0ã25ã®ç¯å²ã®ä»»æã®å€ãåãããšãã§ããŸãã 12 * 26 =å¯èœãªããŒã®312ãªãã·ã§ã³ã
ã¢ãã£ããã£æå·ååæ
æããã«ãã¢ãã£ã³æå·ã®å Žåãç Žãæãç°¡åãªæ¹æ³ã¯ãå¯èœãªãã¹ãŠã®ããŒã®åæã§ãã ããããæ€çŽ¢ã®çµæãšããŠã312ã®ç°ãªãããã¹ããååŸãããŸãã ãã®ãããªå€æ°ã®ã¡ãã»ãŒãžãæåã§åæããããšã¯å¯èœã§ãããæåã®åºçŸé »åºŠãªã©ã®ç¹æ§ã䜿çšããŠãã®ããã»ã¹ãèªååããããšããå§ãããŸãã
èªç¶èšèªã®æåãåçã«ååžããŠããªãããšã¯é·ãéç¥ãããŠããŸãã ããšãã°ãããã¹ãå ã®è±èªã®æåã®åºçŸé »åºŠã«ã¯æ¬¡ã®æå³ããããŸãã
ã€ãŸã è±èªã®ããã¹ãã§ã¯ãæãäžè¬çãªæåã¯EãTãAã«ãªããŸããæããŸããªæåã¯JãQãZã§ãããããã£ãŠãããã¹ãå ã®åæåã®åºçŸé »åºŠãæ°ããããšã«ãããããã¹ãã®é »åºŠå¿çãè±èªã«å¯Ÿå¿ãã床åããå€æã§ããŸãã
ãããè¡ãã«ã¯ãå€ãèšç®ããŸãã
ã
ããã§ã n iã¯èªç¶èšèªã«ãããã¢ã«ãã¡ãããã®içªç®ã®æåã®é »åºŠã§ãã ãŸãã f iã¯æå·æã®içªç®ã®æåã®é »åºŠã§ãã
Ïå€ã倧ããã»ã©ãããã¹ããèªç¶èšèªã§æžãããŠããå¯èœæ§ãé«ããªããŸãã
ãããã£ãŠãã¢ãã£ã³æå·ã解èªããã«ã¯ã312ã®å¯èœãªããŒãæŽçãã埩å·åã®çµæãšããŠåŸãããããã¹ãã®Ïå€ãèšç®ããã ãã§ååã§ãã Ïã®å€ãæ倧ã®ããã¹ãã§ãé«ã確çã§æå·åãããã¡ãã»ãŒãžã§ãã
ãã¡ãããåšæ³¢æ°ç¹æ§ãèªç¶èšèªã®ç¹æ§ãšå€§ããç°ãªãå¯èœæ§ãããã·ã§ãŒãã¡ãã»ãŒãžã§ã¯ããã®æ¹æ³ãåžžã«æ©èœãããšã¯éããªãããšã«æ³šæããŠãã ããã
ç°¡åãªäº€ææå·
åäžã¢ã«ãã¡ããã眮ææå·ã®ã°ã«ãŒãã«å±ããå¥ã®æå·ã æå·éµã¯ãã©ã³ãã ã«æ··åšããã¢ã«ãã¡ãããã§ãã ããšãã°ãããŒã¯æ¬¡ã®æåã®ã·ãŒã±ã³ã¹ã§ããå¯èœæ§ããããŸãïŒXFQABOLYWJGPMRVIHUSDZKNTECã
æå·åããå Žåãããã¹ãå ã®åæåã¯æ¬¡ã®ã«ãŒã«ã«çœ®ãæããããŸãã ã¢ã«ãã¡ãããã®æåã®æåã¯ããŒã®æåã®æåã«ãã¢ã«ãã¡ãããã®2çªç®ã®æåã¯ããŒã®2çªç®ã®æåã«ããšããããã«çœ®ãæããããŸãã ãã®äŸã§ã¯ãæåAã¯Xã«ãæåBã¯Fã«çœ®ãæããããŸãã
ãã³ãŒãæã«ã¯ãæåãæåã«ããŒã§æ€çŽ¢ããã次ã«åãäœçœ®ã®ã¢ã«ãã¡ãããã®æåã«çœ®ãæããããŸãã
æå·è§£ææå·ã®ç°¡åãªçœ®ãæã
åçŽãªçœ®æã®æå·éµã¹ããŒã¹ã¯å·šå€§ã§ããã䜿çšãããã¢ã«ãã¡ãããã®é åã®æ°ã«çããã ãããã£ãŠãè±èªã®å Žåããã®æ°ã¯26ã§ãïŒ = 2 88 ã ãã¡ãããèãããããã¹ãŠã®ããŒãåçŽã«æ€çŽ¢ããããšã¯çµ¶æçã§ããããããã³ã°ãè¡ãã«ã¯ããããã«ç»ã£ãŠæ€çŽ¢ãããªã©ãããé«åºŠãªææ³ãå¿ èŠã«ãªããŸãã
- ã©ã³ãã ãªæååãéžæãããŸã-ã¡ã€ã³ããŒã æå·åããã¹ãã¯ãäž»ããŒã䜿çšããŠè§£èªãããŸãã çµæã®ããã¹ãã«ã€ããŠãèªç¶èšèªã«å±ãã確çãç¹åŸŽä»ããä¿æ°ãèšç®ãããŸãã
- ã¡ã€ã³ããŒã¯å°ããªå€æŽïŒã©ã³ãã ã«éžæããã2ã€ã®æåã®çœ®æïŒãåããŸãã 埩å·åãå®è¡ãããåä¿¡ããããã¹ãã®ä¿æ°ãèšç®ãããŸãã
- ä¿æ°ãä¿åãããå€ããã倧ããå Žåãã¡ã€ã³ããŒã¯ä¿®æ£ãããããŒãžã§ã³ã«çœ®ãæããããŸãã
- ä¿æ°ãäžå®ã«ãªããŸã§ãæé 2ã3ãç¹°ãè¿ããŸãã
ä¿æ°ãèšç®ããããã«ãèªç¶èšèªã®å¥ã®ç¹æ§- ãã©ã€ã°ã©ã ã®çºçé »åºŠã䜿çšãããŸãã
ããã¹ããè±èªã«è¿ãã»ã©ãTHEãANDãINGãªã©ã®ãã©ã€ã°ã©ã ã«äŒãé »åºŠãé«ããªããŸãã ããã¹ãã§ééãããã¹ãŠã®ãã©ã€ã°ã©ã ã®èªç¶èšèªã§ã®åºçŸé »åºŠãåèšãããšãèªç¶èšèªã§æžãããããã¹ãã決å®ããå¯èœæ§ãæãé«ãä¿æ°ãåŸãããŸãã
æå·ããªããŠã¹
å¥ã®ä»£æ¿æå·ã æå·ããŒã¯5 * 5ã®æ£æ¹åœ¢ïŒè±èªïŒã§ãJãé€ãã¢ã«ãã¡ãããã®ãã¹ãŠã®æåãå«ãŸããŠããŸãã
æå·åäžã«ããœãŒã¹ããã¹ãã®åæåã¯ã眮æãããæåãé 眮ãããŠããè¡çªå·ãšåçªå·ãè¡šãæåã®ãã¢ã«çœ®ãæããããŸãã æå·æã§ã¯ãæåaã¯ãã¢BBã«ãæåbã¯ãã¢EBã«ããšããããã«çœ®ãæããããŸãã ããŒã«ã¯æåJãå«ãŸããŠããªãããããœãŒã¹ããã¹ãã§æå·åããåã«ãJãIã«çœ®ãæããå¿ èŠããããŸãã
ããšãã°ãHABRAHABRãšããåèªãæå·åããŸãã CïŒ 'HABRAHABR'ïŒ= 'AB BB EB DA BB AB BB EB DA'ã
Polybiusæå·ã®æå·è§£æ
æå·ã«ã¯å€§ããªããŒã¹ããŒã¹ããããŸãïŒè±èªã®å Žåã25ïŒ= 2 83 ïŒã ãã ããPolybius squareãšä»¥åã®æå·ãšã®å¯äžã®éãã¯ããœãŒã¹ããã¹ãã®æåã2æåã«çœ®ãæããããããšã§ãã
ãããã£ãŠãæ»æã®ããã«ãåçŽãªä»£æ¿ã®æå·ã解èªããããã«äœ¿çšãããæè¡ã䜿çšããããšãã§ããŸã-ãããã«ç»ã£ãŠæ€çŽ¢ããŸãã
ãµã€ãº5 * 5ã®ã©ã³ãã ãªæ£æ¹åœ¢ãã¡ã€ã³ããŒãšããŠéžæãããŸãã åå埩äžã«ãããŒã¯å°ããªå€æŽãåãã埩å·åã®çµæãšããŠåŸãããããã¹ãå ã®ãã©ã€ã°ã©ã ã®ååžãèªç¶èšèªã®ååžã«å¯Ÿå¿ãããã©ããããã§ãã¯ããŸãã
é åæå·
眮ææå·ã«å ããŠã眮ææå·ãåºã䜿çšãããŠããŸãã äŸãšããŠã åçŽçœ®æã®æå·ã説æããŸãã
æå·åã®éçšã§ãã¡ãã»ãŒãžã¯ããŒãã«ã«èšé²ãããŸãã ããŒãã«ã®åæ°ã¯ãããŒãµã€ãºã«ãã£ãŠæ±ºãŸããŸãã ããšãã°ãæ€åºãããã¡ãã»ãŒãžãæå·åããŸãã ããŒ632415ã䜿çšããŠäžåºŠã«ããªãŒã
ããŒã«ã¯6æ¡ãå«ãŸããŠããã®ã§ãã©ã³ãã ã«éžæãããæåQKJEUã䜿çšããŠã¡ãã»ãŒãžã6ã®åæ°ã«è£è¶³ããå·Šããå³ã«6åã®ããŒãã«ã«ã¡ãã»ãŒãžãæžã蟌ã¿ãŸãã
æå·æãååŸããããã«ãããŒã«ãã£ãŠæ±ºå®ãããé åºã§ããŒãã«ã®ååãæžãåºããŸãïŒEVLNE ACDTK ESEAQ ROFOJ DEECU WIREEã
ãã³ãŒããããšããããã¹ãã¯ããŒã«ãã£ãŠæ±ºå®ãããé åºã§äžããäžã®åã«ããŒãã«ã«æžã蟌ãŸããŸãã
é åæå·è§£æ
åçŽçœ®ææå·ãæ»æããããã®æè¯ã®æ¹æ³ã¯ãå¯èœãªãã¹ãŠã®çãããŒã培åºçã«æ€çŽ¢ããããšã§ãïŒæ倧9ãå«ã-çŽ400,000ãªãã·ã§ã³ïŒã æ€çŽ¢ã§ç®çã®çµæãåŸãããªãã£ãå Žåã¯ãæ€çŽ¢ã䜿çšããŠæäžéšã«ç»ãããšãã§ããŸãã
èããããé·ãã®å€ããšã«ããã£ãšããããããŒãæ€çŽ¢ãããŸãã 尀床ãè©äŸ¡ããã«ã¯ããã©ã€ã°ã©ã ã®çºçé »åºŠã䜿çšããããšããå§ãããŸãã ãã®çµæãèªç¶èšèªã«æãè¿ã埩å·åãããã¡ãã»ãŒãžã®ããã¹ããæäŸããããŒãè¿ãããŸãã
ãã¬ã€ãã¡ãŒã³ãŒã
Playferæå·ã¯ããã€ã°ã©ã ã®çœ®æãå®è£ ããã¯ã€ã«ãã«ãŒãæå·ã§ãã æå·åã«ã¯ãããŒãå¿ èŠã§ããããã¯ããµã€ãºã5 * 5ã®æåïŒJãé€ãïŒã®è¡šã§ãã
æå·åããã»ã¹ã¯ãããŒãã«å ã®ãã€ã°ã©ã ãèŠã€ããŠãå ã®ãã€ã°ã©ã ãšé·æ¹åœ¢ã圢æãã2ã3ã®æåã«çœ®ãæããããšã§è»œæžãããŸãã
äŸãšããŠãPlayferæå·ããŒãçæãã次ã®è¡šãèããŠãã ããã
ãã¢ãWNããæå·åããŸãã æåWã¯ãæåã®è¡ãšæåã®åã«ãããŸãã ãŸããæåNã¯2è¡3åã«ãããŸãã ãããã®æåã¯ãWESNã³ãŒããŒãæã€é·æ¹åœ¢ã圢æããŸãã ãããã£ãŠãæå·åäžã«ããã€ã°ã©ã WNã¯ãã€ã°ã©ã ESã«å€æãããŸãã
æåãåãè¡ãŸãã¯åã«ããå Žåãæå·åã®çµæã¯ãå³/äžã®1ã€ã®äœçœ®ã«ãããã€ã°ã©ã ã«ãªããŸãã ããšãã°ããã€ã°ã©ã NGã¯ãã€ã°ã©ã GPã«å€æãããŸãã
Playferæå·ã®æå·è§£æ
Playferæå·ããŒã¯25æåã®è±èªã®ã¢ã«ãã¡ããããå«ãããŒãã«ã§ããããããã®æå·ã解èªããã«ã¯ãæäžéšã«ç»ãæ€çŽ¢æ¹æ³ãæåã®æ¹æ³ã§ãããšèª€è§£ãããå¯èœæ§ããããŸãã æ®å¿µãªããããã®æ¹æ³ã¯æ©èœããŸããã äžå®ã¬ãã«ã®ããã¹ããããã³ã°ã«éãããšãã¢ã«ãŽãªãºã ã¯æ¥µå€§ç¹ã§åæ¢ããæ€çŽ¢ãç¶è¡ã§ããªããªããŸãã
Playferæå·ãæ£åžžã«è§£èªããã«ã¯ãã¢ããŒãªã³ã°ã·ãã¥ã¬ãŒã·ã§ã³ã¢ã«ãŽãªãºã ã䜿çšããããšããå§ãããŸã ã
ã·ãã¥ã¬ãŒãããã¢ããŒãªã³ã°ã¢ã«ãŽãªãºã ãšããããµãŒããžã®äžæã®éãã¯ãåŸè ãæ£ãã決å®ã«åããéäžã§ãå¯èœãªè§£æ±ºçãšããŠãã匱ããªãã·ã§ã³ã決ããŠãšããªããšããäºå®ã«ãããŸãã ã·ãã¥ã¬ãŒãããã¢ããŒãªã³ã°ã¢ã«ãŽãªãºã ã¯ãå¯èœæ§ã®äœããœãªã¥ãŒã·ã§ã³ã«å®æçã«ããŒã«ããã¯ããŸãããæçµçã«æåããå¯èœæ§ãé«ããªããŸãã
ã¢ã«ãŽãªãºã ã®æ¬è³ªã¯ã次ã®ã¢ã¯ã·ã§ã³ã«éå®ãããŸãã
- ã©ã³ãã ãªæååãéžæãããŸã-ã¡ã€ã³ããŒã æå·åããã¹ãã¯ãäž»ããŒã䜿çšããŠè§£èªãããŸãã çµæã®ããã¹ãã«ã€ããŠãèªç¶èšèªã«å±ãã確çãç¹åŸŽä»ããä¿æ°ãèšç®ãããŸãã
- ã¡ã€ã³ããŒã¯å°ããªå€æŽïŒ2ã€ã®ã©ã³ãã ã«éžæãããæåã®é åãåãŸãã¯è¡ã®é åïŒãåããŸãã 埩å·åãå®è¡ãããåä¿¡ããããã¹ãã®ä¿æ°ãèšç®ãããŸãã
- ä¿æ°ãä¿åãããå€ããã倧ããå Žåãã¡ã€ã³ããŒã¯ä¿®æ£ãããããŒãžã§ã³ã«çœ®ãæããããŸãã
- ããã§ãªãå Žåãäž»ããŒãšå€æŽãããããŒã®çœ®æã¯ãäž»ããŒãšå€æŽãããããŒã®ä¿æ°ã®å·®ã«çŽæ¥äŸåãã確çã§çºçããŸãã
- æé 2ã4ã¯çŽ50,000åç¹°ãè¿ãããŸãã
ãã®ã¢ã«ãŽãªãºã ã¯ãã¡ã€ã³ããŒãå®æçã«ææªã®ããã©ãŒãã³ã¹ã®ããŒã«çœ®ãæããŸãã ããã«ã眮æã®ç¢ºçã¯ç¹æ§ã®éãã«äŸåãããããã¢ã«ãŽãªãºã ãäžé©åãªãªãã·ã§ã³ãé »ç¹ã«åãå ¥ããããšã¯ãããŸããã
ããã¹ããèªç¶èšèªã«å±ãããã©ããã決å®ããä¿æ°ãèšç®ããã«ã¯ããã©ã€ã°ã©ã ã®çºçé »åºŠã䜿çšããã®ãæåã§ãã
Vigenere Cipher
Vigenereæå·ã¯ãå€ã¢ã«ãã¡ããã眮ææå·ã®ã°ã«ãŒãã«å±ããŸãã ããã¯ãããŒã«å¿ããŠãå¹³æã®åãæåãç°ãªãæåã§æå·åã§ããããšãæå³ããŸãã ãã®æå·åæè¡ã¯ãããã¹ãã®ãã¹ãŠã®åšæ³¢æ°ç¹æ§ãé ããæå·ååæãå°é£ã«ããŸãã
Vigenereæå·ã¯ãç°ãªãããŒãæã€ããã€ãã®ã·ãŒã¶ãŒæå·ã®ã·ãŒã±ã³ã¹ã§ãã
äŸãšããŠãããŒ123ã䜿çšããåèªHABRAHABRã®æå·åã瀺ããŸãããœãŒã¹ããã¹ãã®äžã«ããŒãæžã蟌ã¿ãå¿ èŠãªåæ°ç¹°ãè¿ããŸãã
ããŒçªå·ã¯ãæå·æãååŸããããã«ã¢ã«ãã¡ãããã®æåãã·ããããã®ã«å¿ èŠãªäœçœ®ã®æ°ã決å®ããŸãã æåHã¯1æ¡ã·ããããå¿ èŠããããŸã-çµæã¯æåIãæåAã¯2ããžã·ã§ã³-æåCãªã©ãšãªããŸãã ãã¹ãŠã®çœ®æãå®äºãããšãçµæãšããŠæå·æICESCKBDUãåŸãããŸãã
Vigenereæå·åæ
Vigenereæå·ã®æå·è§£æã«çŽé¢ããæåã®ã¿ã¹ã¯ã¯ãããŒã®æå·åã«äœ¿çšãããé·ããèŠã€ããããšã§ãã
ãããè¡ãã«ã¯ãäžèŽã€ã³ããã¯ã¹ã䜿çšã§ããŸãã
äžèŽææ°-ããã¹ãããã©ã³ãã ã«éžæããã2ã€ã®æåãåãã«ãªã確çãç¹åŸŽä»ããæ°å€ã
ããã¹ãã®å ŽåãäžèŽã€ã³ããã¯ã¹ã¯æ¬¡ã®åŒã§èšç®ãããŸãã
ã
ããã§ã f iã¯ããã¹ãå ã®ã¢ã«ãã¡ãããã®içªç®ã®æåã®åºçŸåæ°ã§ããã nã¯ããã¹ãå ã®æåæ°ã§ãã
è±èªã®å ŽåãäžèŽã€ã³ããã¯ã¹ã¯0.0667ã§ãããã©ã³ãã ãªæåã»ããã®å Žåããã®ã€ã³ãžã±ãŒã¿ãŒã¯0.038ã§ãã
ããã«ãåäžã¢ã«ãã¡ãããã®çœ®æã䜿çšããŠæå·åãããããã¹ãã®å ŽåãäžèŽã€ã³ããã¯ã¹ã0.0667ã«çãããªããŸãã ããã¯ãããã¹ãå ã®ç°ãªãæåã®æ°ãå€ãããªãããã§ãã
ãã®ããããã£ã¯ãVigenereæå·ããŒã®é·ããèŠã€ããããã«äœ¿çšãããŸãã æå·æãã2æåããšã«é çªã«éžæãããåä¿¡ããããã¹ãã®äžèŽã€ã³ããã¯ã¹ãèæ ®ãããŸãã çµæãèªç¶èšèªã®äžèŽã€ã³ããã¯ã¹ã«ã»ãŒäžèŽããå ŽåãããŒã®é·ãã¯2ã§ãã ãã以å€ã®å Žåãæå·æãã3æåããšã«éžæãããäžèŽã®ã€ã³ããã¯ã¹ãå床ã«ãŠã³ããããŸãã é«ãäžèŽã€ã³ããã¯ã¹å€ãããŒã®é·ãã瀺ããŸã§ãããã»ã¹ãç¹°ãè¿ãããŸãã
ãã®æ¹æ³ã®æåã¯ãããŒã®é·ããæ£ããæšæž¬ãããå ŽåãéžæãããæåãåçŽãªã·ãŒã¶ãŒæå·ã§æå·åãããæå·æã圢æãããšããäºå®ã«ãã£ãŠèª¬æãããŸãã ãŸããäžèŽã€ã³ããã¯ã¹ã¯èªç¶èšèªã®äžèŽã€ã³ããã¯ã¹ãšã»ãŒåãã§ããå¿ èŠããããŸãã
ããŒã®é·ããèŠã€ãããšãããã¯ã¯ã·ãŒã¶ãŒã®æå·ãããã€ãéãããšã«ãªããŸãã ãããè¡ãã«ã¯ããã®ãããã¯ã®æåã®ã»ã¯ã·ã§ã³ã§èª¬æããæ¹æ³ã䜿çšã§ããŸãã
PS
äžèšã®ãã¹ãŠã®æå·ã®ãœãŒã¹ãšãããã«å¯Ÿããæ»æã¯ã GitHubã§èŠãããšãã§ããŸãã
åç §è³æ
1.racticalcryptography.comã§ã®å€å žçãªæå·ã®æå·è§£èªã
2.racticalcryptography.comã®è±èªã®åšæ³¢æ°ç¹æ§
3. ãŠã£ãããã£ã¢ã§ã®ã·ãã¥ã¬ãŒãããã¢ããŒãªã³ã°ã¢ã«ãŽãªãºã ã®èª¬æ
4. ãŠã£ãããã£ã¢ã®ããããžã®äžæã®èª¬æ