authen :: passphrase :: md5crypt.

Authen :: Passphrase :: MD5Crypt´Â MD5 ±â¹Ý UNIX Crypt ()¸¦ »ç¿ëÇÏ´Â ¾ÏÈ£¹®ÀÌÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

authen :: passphrase :: md5crypt. ¼øÀ§ ¹× ¿ä¾à

±¤°í

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

authen :: passphrase :: md5crypt. ű×


authen :: passphrase :: md5crypt. ¼³¸í

authen :: passphrase :: md5crypt´Â MD5 ±â¹Ý UNIX crypt ()¸¦ »ç¿ëÇÏ´Â ¾ÏÈ£¹®ÀÌÀÖ´Â perl ¸ðµâÀÔ´Ï´Ù. Authen :: Passphrase :: MD5Crypt´Â MD5 ±â¹Ý UNIX Crypt ()¸¦ »ç¿ëÇÏ´Â ¾ÏÈ£¹®ÀÌÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. Synopsis »ç¿ë authen :: passphrase :: md5crypt; $ ppr = authen :: passphrase :: md5crypt-> new (salt => "vd3f8ag6", hash_base64 => "gcsdf4ycxb0pm2umxjioi1"); $ ppr = authen :: passphrase :: md5crypt-> new (salt_random => 1, passphrase => "passphrase"); $ ppr = authen :: passphrase :: md5crypt-> from_crypt ( '$ 1 $ VD3F8AG6 $ gcsdf4ycxb0pm2umxjioi1'); $ ppr = authen :: passphrase :: md5crypt-> from_rfc2307 ( '{crypt} $ 1 $ VD3F8AG6 $ gcsdf4ycxb0pm2umxjioi1'); $ salt = $ ppr-> ¼Ò±Ý; $ hash_base64 = $ ppr-> hash_base64; if ($ ppr-> match ($ passphrase)) {... $ passwd = $ ppr-> as_crypt; $ userPassword = $ PPR-> AS_RFC2307;ÀÌ Å¬·¡½ºÀÇ °³Ã¼´Â MD5 ±â¹Ý UNIX CRYPT () Çؽà ÇÔ¼ö¸¦ »ç¿ëÇÏ¿© ¾ÏÈ£¸¦ ĸ½¶È­ÇÕ´Ï´Ù. ÀÌ°ÍÀº authen :: passphraseÀÇ ÇÏÀ§ Ŭ·¡½º À̸çÀÌ ¹®¼­´Â µ¶ÀÚ°¡ ÇØ´ç Ŭ·¡½ºÀÇ ¼³¸í¼­¿¡ Àͼ÷ÇÏ´Ù°í °¡Á¤ÇÕ´Ï´Ù. Çö´ë UNIXÀÇ Crypt () ÇÔ¼ö´Â ½ÇÁ¦·Î ¿©·¯ °¡Áö ´Ù¸¥ ¾ÏÈ£ ±¸Ã³·Î Áö¿øµË´Ï´Ù. ÀÌ ¼ö¾÷Àº Poul-Henning Kamp¿¡ ÀÇÇØ ¼³°èµÈ MD5 ±â¹Ý ¾Ë°í¸®Áò ÀÎ ÇÑ ¸íÀÇ Æ¯Á¤ °èȹÀ¸·Î ¸¸ °ü·ÃÀÌ ÀÖÀ¸¸ç ¿ø·¡ FreeBSD¿¡¼­ ±¸ÇöµÇ¾ú½À´Ï´Ù. ÃֽŠcrypt ()¿¡¼­ Áö¿øÇÏ´Â passphrase schemesÀÇ Àüü ¹üÀ§¸¦ ó¸®ÇÏ·Á¸é from_crypt »ý¼ºÀÚ ¹× authen :: passphrase.the md5 ±â¹Ý crypt () ±¸¼ºÇ¥°¡ Àüü ¾ÏÈ£¸¦ »ç¿ëÇÏ¿© ¿øÄ¢ÀûÀ¸·Î ÇÒ ¼öÀÖ´Â ¼Ò±ÝÀ» »ç¿ëÇÕ´Ï´Ù. ÀÓÀÇÀÇ ¹ÙÀÌÆ® ¹®ÀÚ¿­ ¹× MD5 ¸Þ½ÃÁö ´ÙÀÌÁ¦½ºÆ® ¾Ë°í¸®Áò. ù ¹ø° ¾ÏÈ£¿Í ¼Ò±ÝÀº ÇÔ²² ÇؽõǾî MD5 ¸Þ½ÃÁö ´ÙÀÌÁ¦½ºÆ®¸¦ »ý¼ºÇÕ´Ï´Ù. ±×·± ´ÙÀ½ »õ·Î¿î ´ÙÀÌÁ¦½ºÆ®°¡ Á¦ÀÛµÇ¾î ¾ÏÈ£¹®, ¼Ò±Ý ¹× ù ¹ø° ´ÙÀÌÁ¦½ºÆ®¸¦ ¸ðµÎ ÇؽÌÇÕ´Ï´Ù. ±×·± ´ÙÀ½ÀÌ ´ÙÀÌÁ¦½ºÆ®´Â ¶ó¿îµå°£¿¡ º¯È­ÇÏ´Â ¹æ½ÄÀ¸·Î ¾ÏÈ£¿Í ¼Ò±Ý°ú ÇÔ²² ÀçÈ°ÇÏ´Â ÇÔ¼öÀÇ ¼öõ °³ÀÇ ¹Ýº¹À» Åë°úÇÕ´Ï´Ù. ÀÌ·¯ÇÑ ¶ó¿îµåÀÇ ¸¶Áö¸· Ãâ·ÂÀº °á°úÀûÀÎ ¾ÏÈ£¹®ÀÔ´Ï´Ù. Crypt () ÇÔ¼ö´Â ¿ø½Ã Çؽà Ãâ·ÂÀÌ ±âº» 64 ÀÎÄÚµùÀ» »ç¿ëÇÏ¿© 22 ÀÚÀÇ ¹®ÀÚ¿­·Î ASCII·Î Ç¥½ÃµË´Ï´Ù. º£À̽º 64 ÀÚ¸®´Â ".", "/", "0", "9", "a"to "z", "a"to "z"(ASCII ¼ø¼­·Î). º£À̽º 64 ÀÎÄÚµùÀº 22 ÀÚ¸®¿¡¼­ 132 ºñÆ®¸¦ ³ªÅ¸³¾ ¼ö ÀÖÀ¸¹Ç·Î 128ÀÌ ÇÊ¿äÇÒ ¶§, ¸¶Áö¸· ¼ýÀÚ´Â 4 °³ÀǺ£À̽º 64 ÀÚ¸® °ª¸¸À» ÃëÇÒ ¼ö ÀÖ½À´Ï´Ù. Ãß°¡ÀûÀÎ ÇÕº´ÁõÀº ¿ø½Ã ¾Ë°í¸®Áò Ãâ·ÂÀÇ ¹ÙÀÌÆ®°¡ ±âº» 64·Î Ç¥½ÃµÇ±â Àü¿¡ ±â±«ÇÑ ¼ø¼­·Î Çã¿ëµÈ´Ù´Â °ÍÀÔ´Ï´Ù. ¿ø½Ã ¹ÙÀ̳ʸ® Çü½Ä¿¡¼­ ÀÌ·¯ÇÑ ¾ÏÈ£¸¦ ó¸®ÇÏ´Â ÀüÅëÀº ¾ø½À´Ï´Ù. ÃÖÁ¾ ¼ø¿­À» Æ÷ÇÔÇÏ¿© À§¿¡¼­ ¼³¸íÇÑ ÅؽºÆ® ÀÎÄÚµùÀº º¸ÆíÀûÀ¸·Î »ç¿ë µÇ¹Ç·ÎÀÌ Å¬·¡½º´Â ÀÌÁø Çü½ÄÀ» Áö¿øÇÏÁö ¾Ê½À´Ï´Ù. º¹ÀâÇÑ ¾Ë°í¸®ÁòÀº ¹«Â÷º° °ø°Ý¿¡ ÀúÇ×Çϱâ À§Çؼ­´Â ÄÄÇ»ÆÃÀÌ ´À¸®µµ·Ï ¼³°èµÇ¾ú½À´Ï´Ù. ±×·¯³ª º¹À⼺Àº °íÁ¤µÇ¾î ÀÖÀ¸¸ç ¹«¾îÀÇ ¹ýÀÇ ¿î¿µÀº Àǵµ ÇÑ °Íº¸´Ù ÈξÀ Àú·ÅÇÑ °ÍÀ¸·Î ¹àÇôÁ³½À´Ï´Ù. ¹«Â÷º° °ø°ÝÀÇ È¿À²¼ºÀÌ ¿ì·ÁÇÏ´Â °æ¿ì, SSE Authen :: Passphrase :: Blowfishcrypt. ¿ä±¸ »çÇ× : ¡¤ Perl.


authen :: passphrase :: md5crypt. °ü·Ã ¼ÒÇÁÆ®¿þ¾î