The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
ç§å¯éµããã©ã¤ãã¼ããªæ å ±ãªã©ãç§å¿ããããã«ãã¹ã¯ã¼ãã§ãã¼ã¿ãæå·åã»å¾©å·ãããå ´åãããã¾ãããã®ã¨ããæå·åã¨å¾©å·ããã¢ããªã±ã¼ã·ã§ã³ãåãã§ããã°ç°¡åã§ãããä¾ãã°Cã§æå·åãã¦JavaãPerlãRubyã§å¾©å·ããã¨ãã£ã風ã«ç°ãªããã©ãããã©ã¼ã ã§æå·ãã¼ã¿ãããã¨ãããå ´åã«ã¯ãããã¤ãæ° ãã¤ããªããã°ãããªããã¤ã³ããããã¾ãã OpenSSLã«ããæå·å OpenSSLã¯Webãµã¼ãã®SSL/TLSãµãã¼ãã«å©ç¨ããã¾ããããã®ä»ã«ãä»å±ãã¦ããopensslã³ãã³ãããåºæ¬çãªæå·ã¢ã«ã´ãªãºã ãå©ç¨ã§ãã¾ãã次ã®ãããªç°¡åãªã³ãã³ãã§ããã¹ã¯ã¼ãã使ã£ã¦ãã¼ã¿ãæå·åããã復å·ããããããã¨ãã§ãã¾ã: $ echo 'Hello World!' | openssl enc -e -aes-128-cbc > cipher.txt enter aes-128-cbc
åæå·ã¢ã¼ãã®èª¬æ ãããã¯æå·ã®åæå·ã¢ã¼ãã®è©³ç´°ã«ã¤ãã¦èª¬æããã ECBï¼Electronic Code Bookï¼ é»åã³ã¼ãããã㯠ãã£ã¨ãåºæ¬çãªã¢ã¼ãã§ãåç´ã«å¹³æããããã¯é·ãã¨ã«ç§å¯éµã§æå·åãã¦æå·ãããã¯ãä½ãæå·æãçæãããåãããã¯ãå®å ¨ã«ç¬ç«ãã¦ããã®ãã並åå¦çãå¯è½ã§é«éã ããå¹³æãããã¯ã«åããã¿ã¼ã³ãåå¨ããã¨æå·ãããã¯ã«ãåããã¿ã¼ã³ãçã解èªã«æçãªæ å ±ãä¸ãã¦ãã¾ãã¨ããæ¬ ç¹ãããã å®å ¨æ§ãä¸çªä½ãã使ãã¹ãã§ã¯ãªãã CBCï¼Cipher Block Chainingï¼ æå·ãããã¯é£é 1ã¤åã®æå·åããããããã¯ã¨æ¬¡ã®ããããæå·åããå¹³æãããã¯ãXORæ¼ç®ãããããç§å¯éµãç¨ãæå·åãã¦æå·ãããã¯ãçæãããããã«ããæå·ãããã¯ã¯å®å ¨ã«1ã¤ã«é£çµãããããã«ECBã®æ§ã«å¹³æä¸ã®ç¹°ãè¿ããã¿ã¼ã³ãæå·æã«å½±é¿ãããã¨ã¯ãªãã®ã§è§£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}