authen :: passphrase :: descrypt.

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

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

±¤°í

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

authen :: passphrase :: descrypt. ű×


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

Authen :: Passphrase :: Descrypt´Â DES ±â¹Ý UNIX Crypt ()¸¦ »ç¿ëÇÏ¿© ¾ÏÈ£°¡ÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. authen :: passphrase :: descrypt´Â DES ±â¹Ý UNIX crypt ()¸¦ »ç¿ëÇÏ¿© ¾ÏÈ£¸¦ °¡Áø perl ¸ðµâÀÔ´Ï´Ù. ½Ã³ñ½Ã½º »ç¿ë authen :: passphrase :: descrypt; $ ppr = authen :: passphrase :: descrypt-> new (salt_base64 => "my", hash_base64 => "tyk.j.88 / 9s"); $ ppr = authen :: passphrase :: descrypt-> new (salt_random => 12, passphrase => "passphrase"); $ ppr = authen :: passphrase :: descrypt -> from_crypt ( 'mytyk.j.88 / 9s'); $ ppr = authen :: passphrase :: descrypt-> new (fold => 1, initial => "xyzzy !!!", nrounds => 500, salt_base64 => "qux", hash_base64 => "qckchlgvsry"); $ fold = $ ppr-> Á¢±â; $ ipical = $ ppr-> À̴ϼÈ; $ initial_base64 = $ ppr-> initial_base64; $ nrounds = $ ppr-> nrounds; $ nrounds_base64 = $ ppr-> nrounds_base64_4; $ salt = $ ppr-> ¼Ò±Ý; $ salt_base64 = $ ppr-> salt_base64_2; $ salt_base64 = $ ppr-> salt_base64_4; $ hash = $ ppr-> ÇؽÃ; $ hash_base64 = $ ppr-> hash_base64; if ($ ppr-> match ($ passphrase)) {... $ passwd = $ ppr-> as_crypt; $ userPassword = $ ppr-> as_rfc2307;ÀÌ Å¬·¡½ºÀÇ °´Ã¼´Â DES ±â¹Ý UNIX CRYPT () Çؽà ÇÔ¼öÀÇ ÀϺΠÇü½ÄÀ» »ç¿ëÇÏ¿© Çؽà ó¸® µÈ ¾ÏÈ£¸¦ ĸ½¶È­ÇÕ´Ï´Ù. ÀÌ°ÍÀº authen :: passphraseÀÇ ÇÏÀ§ Ŭ·¡½º À̸çÀÌ ¹®¼­´Â µ¶ÀÚ°¡ ÇØ´ç Ŭ·¡½ºÀÇ ¼³¸í¼­¿¡ Àͼ÷ÇÏ´Ù°í °¡Á¤ÇÕ´Ï´Ù. Çö´ë UNIXÀÇ Crypt () ÇÔ¼ö´Â ½ÇÁ¦·Î ¿©·¯ °¡Áö ´Ù¸¥ ¾ÏÈ£ ±¸Ã³·Î Áö¿øµË´Ï´Ù. ÀÌ ¼ö¾÷ÀÌ ¹ºÁö°¡ ¾Æ´Õ´Ï´Ù. ÀÌ ¼ö¾÷Àº ¿ø·¡ ±¸Çö µÈ DES ±â¹Ý °èȹÀÇ º¯Á¾, ¿ø·¡ ±¸Çö µÈ DES ±â¹Ý °èȹÀÇ º¯Çü, È¥¶õ½º·´°Ôµµ ´Ü¼øÈ÷ "crypt ()"¶ó°íÇÕ´Ï´Ù. ÃֽŠcrypt ()°¡ Áö¿øÇÏ´Â passphrase schemesÀÇ Àüü ¹üÀ§¸¦ ó¸®ÇÏ·Á¸é from_crypt »ý¼ºÀÚ ¹× authen :: passphrase.warningÀÇ as_crypt ¸Þ¼Òµå¸¦ ÂüÁ¶ÇϽʽÿÀ.ÀÌ ¾ÏÈ£´Â Çö´ë Ç¥ÁØ¿¡ ÀÇÇØ ¾àÇÏ´Ù. ±×¸®°í ¾î¶² °æ¿ì¿¡µµ ¾î¶² °æ¿ì¿¡´Â Å« Áö¿øÀ»¹ÞÁö ¸øÇÑ´Ù. ¾ÏÈ£ °ø°£. Å©·¡Å· Crypt () ED ¾ÏÈ£´Â 1990 ³â´ë ÃʹݺÎÅÍ ÀÏ»óÀûÀÎ È°µ¿À̾ú½À´Ï´Ù. ÀÌ ±¸¼ºÇ¥´Â ȣȯ¼º ÀÌÀ¯·Î¸¸ Áö¿øµÇ¸ç ȣȯ¼ºÀÌ ÇÊ¿äÇÑ °æ¿ì¸¦ Á¦¿ÜÇÏ°í´Â »ç¿ëÇÏÁö ¾Ê¾Æ¾ßÇÕ´Ï´Ù. »õ·Î¿î ½Ã½ºÅÛÀÇ µðÀÚÀÎÀ̳ª ´õ ³ªÀº ¾ÏÈ£ ±¸¹® ½ºÅ°¸¶¸¦ Áö¿øÇÏ´Â ¸ðµç ½Ã½ºÅÛ¿¡¼­ »õ·Î¿î ¾ÏÈ£¸¦ »ç¿ëÇÏÁö ¸¶½Ê½Ã¿À. ¿ä±¸ »çÇ× : ¡¤ Perl.


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

Crypt :: CBC.

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

187

´Ù¿î·Îµå