Crypt :: Tea_js.

Perl ¹× JavaScriptÀÇ ÀÛÀº ¾Ïȣȭ ¾Ë°í¸®Áò
Áö±Ý ´Ù¿î·Îµå

Crypt :: Tea_js. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Peter J Billam
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~pjb/

Crypt :: Tea_js. ű×


Crypt :: Tea_js. ¼³¸í

Perl ¹× JavaScriptÀÇ ÀÛÀº ¾Ïȣȭ ¾Ë°í¸®Áò Crypt :: Tea_js´Â Perl ¹× JavaScript¿¡¼­ ÀÛÀº ¾Ïȣȭ ¾Ë°í¸®ÁòÀ» Á¦°øÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ¼­½Ã´ÙÀÌ¼Ç : Crypt :: Tea_js¸¦ »ç¿ëÇϽʽÿÀ. $ key = 'pufgob $ * lkdf d) (f iddp? /'; $ ascii_cyphertext = ¾Ïȣȭ ($ plaintext, $ Å°); ... $ plaintext_again = decrypt ($ ascii_cyphertext, $ Å°); ... $ ¼­¸í = asciidigest ($ text); CGI ½ºÅ©¸³Æ®¿¡¼­ : crypt :: tea_js¸¦ »ç¿ëÇϽʽÿÀ; tea_in_javascript ()¸¦ ÀμâÇϽʽÿÀ. # ÀÌÁ¦ ºê¶ó¿ìÀú°¡ ¾Ïȣȭ ¹× Çص¶ ÇÒ ¼ö ÀÖ½À´Ï´Ù! JS : var ascii_ciphertext = encrypt (plaintext, key); var plaintext_again = decricatt (ascii_ciphertext, Å°); var signature = asciidigest (text);ÀÌ ¸ðµâÀº Perl ¹× JavaScript¿¡¼­ Â÷, ÀÛÀº ¾Ïȣȭ ¾Ë°í¸®Áò ¹× ÀϺΠ»ç¿ë ¸ðµå¸¦ ±¸ÇöÇÕ´Ï´Ù. $ Å°´Â ÃæºÐÈ÷ ¿À·¡ ²öÀÔ´Ï´Ù. Àû¾îµµ 17 °³ÀÇ ¹«ÀÛÀ§ 8 ºñÆ® ¹ÙÀÌÆ® ÀÌ»ó ´ÜÀÏ ¾Ïȣȭ : CRYPT :: Tea_js´Â ÀϹÝÀûÀ¸·Î ºñ¹Ð Å° ¾Ïȣȭ¿¡ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ƯÈ÷ ºê¶ó¿ìÀú¿Í À¥ È£½ºÆ®°£¿¡ ´Ü´ÜÈ÷ Åë½ÅÇÏ´Â µ¥ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.ÀÌ °æ¿ì °¡Àå °£´ÜÇÑ ¹è¿­Àº »ç¿ëÀÚ°¡ Å°¸¦ ÀÔ·ÂÇÏ´Â °ÍÀÔ´Ï´Ù. JavaScript º¯¼ö ¹× È£½ºÆ®°¡ µ¥ÀÌÅͺ£À̽º¿¡¼­ ÇØ´ç »ç¿ëÀÚÀÇ Å°¸¦ °Ë»ö ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¶Ç´Â Ãß°¡ º¸¾ÈÀ» À§ÇØ Ã¹ ¹ø° ¸Þ½ÃÁö (¶Ç´Â °¢ ¸Þ½ÃÁö) ºê¶ó¿ìÀú¿Í È£½ºÆ®¿¡´Â ÀÓÀÇÀÇ Ã§¸°Áö ¹®ÀÚ¿­ÀÌ Æ÷Ç﵃ ¼ö ÀÖ½À´Ï´Ù. ±×·± ´ÙÀ½ °¢ ³¡Àº ¼­¸íÀ¸·Î ¹Ù²î°í ¼¼¼ÇÀÇ ¾Ïȣȭ Å°·Î ÇØ´ç ¼­¸íÀ» »ç¿ëÇÕ´Ï´Ù. ¿©Çà Á÷¿øÀÌ ¼¼¼Ç ½ÃÀÛ ÆÄÀÏÀ» ÈÞ´ë ÇÒ ¼ö ÀÖ½À´Ï´Ù. (¿¹ : login_on_the_road.html) ³ëÆ®ºÏ¿¡¼­ Trojan JavaScript¸¦ °ø±ÞÇÏ·Á°í ³ë·ÂÇÏ´Â À¥ È£½ºÆ®¸¦ »ç·Î Àâ´Â °ÍÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Crypt :: Tea_js. °ü·Ã ¼ÒÇÁÆ®¿þ¾î