| crypt :: hce_md5. CRYPT :: HCE_MD5´Â MD5¸¦ »ç¿ëÇÏ¿© ÇÑ ¹æÇâÀÇ Çؽà üÀÎ ¾Ïȣȸ¦ ±¸ÇöÇÏ´Â PERL È®ÀåÀÚÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
crypt :: hce_md5. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Eric Estabrooks
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~eestabroo/Crypt-HCE_SHA-0.70/HCE_SHA.pm
crypt :: hce_md5. ű×
crypt :: hce_md5. ¼³¸í
Crypt :: HCE_MD5´Â MD5¸¦ »ç¿ëÇÏ¿© ÇÑ ¹æÇâÀÇ Çؽà üÀÎ ¾Ïȣȸ¦ ±¸ÇöÇÏ´Â Perl È®ÀåÀÚÀÔ´Ï´Ù. Crypt :: HCE_MD5´Â MD5.Synopsis¸¦ »ç¿ëÇÏ¿© ÇÑ ¹æÇâÀÇ Çؽà üÀÎ ¾Ïȣȸ¦ ±¸ÇöÇÏ´Â Perl È®ÀåÀÚÀÔ´Ï´Ù. Crypt :: HCE_MD5; $ hce_md5 = crypt :: hce_md5-> new ( "sharedsecret", "random01,39j309ad"); $ hce_md5 = crypt :: hce_md5-> new ( 'keybug', "thesecret", "junk o ramame"); $ crypted = $ hce_md5-> hce_block_encrypt ( "ÀÌ Á¤º¸¸¦ ¾ÏÈ£È"); $ info = $ hce_md5-> hce_block_decrypt ($ crypted); $ mime_crypted = $ hce_md5-> hce_block_encode_mime ( "¾ÏÈ£È ¹× base64ÀÌ Á¤º¸"); $ info = $ hce_md5-> hce_block_decode_mime ($ mime_crypted);ÀÌ ¸ðµâÀº ÇÑ ¹æÇâ Çؽø¦ »ç¿ëÇÏ¿© üÀÎ ºí·Ï ¾ÏÈ£¸¦ ±¸ÇöÇÕ´Ï´Ù. ÀÌ ¾ÏÈ£È ¹æ¹ýÀº RADIUS (RFC2138)¿¡¼ »ç¿ëµÇ´Â °Í°ú µ¿ÀÏÇϸç Àû¿ëµÈ ¾Ïȣȿ¡¼µµ ¼³¸íÇÕ´Ï´Ù. ù ¹ø°´Â ½ºÆ®·¹ÀÌÆ® ºí·Ï ¾ÏÈ£È / ¾ÏÈ£ Çص¶ÀÌ ¾ÏÈ£È µÈ / º¹È£È µÈ ºí·ÏÀÇ Base64 MIME ÀÎÄÚµù / µðÄÚµùÀÔ´Ï´Ù. ¾ÆÀ̵ð¾î´ÂµÎ¸éÀÌ Å° Áß Çϳª¿Í ¹«ÀÛÀ§·Î »ý¼º µÈ ¹ÙÀÌÆ® ºí·ÏÀ» Á¦°øÇÏ´Â °øÀ¯ ¾ÏÈ£°¡ µÎ ¹ø°·Î Á¦°øµË´Ï´Ù. ¿¼è. ÀÓÀÇÀÇ Å°´Â ¾ç¸é °£ÀÇ clearText·Î Àü´ÞµË´Ï´Ù. ¿¹Á¦ Ŭ¶óÀ̾ðÆ®¿Í ¼¹ö´ÂÀÌ ¸ðµâÀ» °¡Áø ¸ðµâ·Î ÆÐÅ°ÁöµË´Ï´Ù. ±×µéÀº Å×½ºÆ®¿¡ »ç¿ëµË´Ï´Ù. ¶ÇÇÑ ¿¹Á¦ µð·ºÅ丮¿¡¼µµ ãÀ» ¼ö ÀÖ½À´Ï´Ù. 'keybug'Ç÷¡±×´Â ÀÌÀü ¹öÀüÀÇ Crypt :: HCE_MD5·Î ¾ÏÈ£È µÈ µ¥ÀÌÅ͸¦ Çص¶ÇϱâÀ§ÇÑ °ÍÀÔ´Ï´Ù. ÀÌÀü ºí·ÏÀÇ Àüü 16 ¹ÙÀÌÆ®ÀÇ Àüü 16 ¹ÙÀÌÆ®°¡ üÀξî Çؽø¦ ¸¸µå´Â µ¥ »ç¿ëµÇ´Â ¹ö±×°¡ÀÖ¾ú½À´Ï´Ù. ÀÌÀü µ¥ÀÌÅ͸¦ Çص¶ÇÏ°í KeyBug Ç÷¡±×¾øÀÌ ´Ù½Ã ¾ÏÈ£ÈÇϽʽÿÀ.ÀÌ ¸±¸®½º´Â Keybug ±â´ÉÀÌ Á¦°Å µÈ ÈÄ¿¡´ÂÀÌ ¹öÀüÀ» CPanthanks¿¡µÎ°í Jake Angerman¿¡ ¾àÁ¡À» ÁöÀûÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
crypt :: hce_md5. °ü·Ã ¼ÒÇÁÆ®¿þ¾î