crypt :: blowfash_pp.

CRYPT :: BLOWFARES_PP - Blowfish ¾Ïȣȭ ¾Ë°í¸®ÁòÀº Perl¿¡¼­ ¼øÀüÈ÷ ±¸ÇöµÇ¾ú½À´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

crypt :: blowfash_pp. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Matthew Byng-Maddick
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~mattbm/Crypt-Blowfish_PP-1.12/Blowfish_PP.pm

crypt :: blowfash_pp. ű×


crypt :: blowfash_pp. ¼³¸í

Crypt :: Blowfash_PP - Blowfish ¾Ïȣȭ ¾Ë°í¸®ÁòÀº Perl¿¡¼­ ¼øÀüÈ÷ ±¸ÇöµÇ¾ú½À´Ï´Ù. crypt :: blowfash_pp - perl.synopsususe crypt :: blowfish_pp; $ blowfish_pp ($ Å°); $ ciphertextBlock = $ blowfish-> ¾Ïȣȭ ($ plaintextblock); $ plaintextblock = $ blackish -> Decorypt ($ CipherTextBlock); Crypt :: Blowfish_PP ¸ðµâÀº »ç¿ëÀÚ°¡ PerlÀÇ Blowfish ¾Ïȣȭ ¾Ë°í¸®ÁòÀ» »ç¿ëÇϵµ·Ï Á¦°øÇÕ´Ï´Ù. ±¸ÇöÀº ¿ÏÀüÈ÷ °´Ã¼ ÁöÇâÀûÀ̸ç, º¹¾î¸¦ ºü¸£°Ô ¸¸µå´Â °Í¿¡ »ó´çÇÑ ¸¹Àº ¸Æ¶ôÀÌÀÖ´Â °Íó·³ Å°´Â 64¿¡¼­ 448 ºñÆ® (8 ¹× 56 ¹ÙÀÌÆ®) »çÀÌÀÇ À§Ä¡¿¡ ÀÖÀ¸¸ç Æ÷Àå µÈ ¹®ÀÚ¿­·Î Àü´ÞµÇ¾î¾ßÇÕ´Ï´Ù. º¯È¯ ÀÚü´Â 16 ¶ó¿îµå FEISTEL ³×Æ®¿öÅ©À̸ç 64 ºñÆ® ºí·Ï¿¡¼­ ÀÛµ¿ÇÕ´Ï´Ù. CRYPT :: BLOWFARES_PP ¸ðµâ¿¡ ´ëÇÑ 64 ºñÆ® ºí·Ï. object ¸Þ¼Òµå : New (Key) The New () ¸Þ¼­µå´Â Àü´Þ µÈ Å°·Î Blowfish °´Ã¼¸¦ ÃʱâÈ­ÇÕ´Ï´Ù. ÀÌ°ÍÀº ¾Ë°í¸®Áò¿¡ »ç¿ëµÇ´Â 18 °³ÀÇ P-BOX ¹× 1024 S-BOX¸¦ ÃʱâÈ­Çϱ⠶§¹®¿¡ ºí·Î ÇÇ»ó ¾Ïȣȭ ¶Ç´Â ¾ÏÈ£ Çص¶ÀÇ ´À¸° ºÎºÐÀÔ´Ï´Ù. Å°°¡ À¯È¿ÇÑ Length.Encrypt (ºí·Ï) encrypt () ¸Þ¼­µå°¡ ÃʱâÈ­ µÈ Blowfish °´Ã¼¸¦ »ç¿ëÇÏ¿© 8 ¹ÙÀÌÆ®ÀÇ ¹®ÀÚ¿­ÀÇ 8 ¹ÙÀÌÆ®¸¦ ¾ÏȣȭÇÏ¿© 8 ¹ÙÀÌÆ®ÀÇ µ¥ÀÌÅ͸¦ ¾ÏȣȭÇÕ´Ï´Ù. ¾Ïȣȭ µÈ block.decrypt (ºí·Ï) decrypt () ¸Þ¼­µå¸¦ »ç¿ëÇÏ¿© ÃʱâÈ­ µÈ blowfish °´Ã¼¸¦ »ç¿ëÇÏ¿© 8 ¹ÙÀÌÆ®ÀÇ ¹®ÀÚ¿­ÀÇ µ¥ÀÌÅ͸¦ Çص¶ÇÕ´Ï´Ù. Çص¶ µÈ ºí·ÏÀ» ¹ÝȯÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


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

Crypt :: CBC.

CRYPT :: CBC´Â ¾ÏÈ£ ºí·Ï üÀÎ ¸ðµå·Î µ¥ÀÌÅ͸¦ ¾ÏȣȭÇÏ´Â PERL ¸ðµâÀÔ´Ï´Ù. ...

187

´Ù¿î·Îµå