| crypt :: ecdsa :: °î¼± CRYPT :: ECDSA :: Curve´Â ECC °î¼±ÀÇ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
crypt :: ecdsa :: °î¼± ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- William Herrera
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~billh/
crypt :: ecdsa :: °î¼± ű×
crypt :: ecdsa :: °î¼± ¼³¸í
Å©¸³Æ® :: ECDSA :: °î¼± ECC °î¼±ÀÇ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. ECC curves.These Å©¸³Æ® :: ECDSA, ¼öÇÐ :: GMPz ±â¹Ý ¾ÏÈ£È module.METHODSnew »ý¼ºÀÚ¿Í ÇÔ²² »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù¿¡ ´ëÇÑ Å©¸³Æ® :: ECDSA :: °î¼±Àº ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. ´ÙÀ½ À̸§ ½ÖÀÇ Àμö¸¦ Ãë µîÀÇ NIST Ç¥ÁØ °î¼±À¸·Î ¸í¸í Ç¥ÁØ °î¼±¿¡ »ç¿ëµÇ´Â Ç¥ÁØ => 'Ç¥ÁØ °î¼± À̸§'. ¿ì¼±ÀûÀ¸·Î, À̵éÀº °°Àº Å©¸³Æ® :: ECDSA :: °î¼± :: ÇÁ¶óÀÓ, Å©¸³Æ® :: ECDSA :: °î¼± :: Áø, ¶Ç´Â Å©¸³Æ® :: ECDSA :: °î¼±À¸·Î Å©¸³Æ® :: ECDSA :: °î¼±¿¡¼ ¾î¶² »ó¼Ó Ŭ·¡½º¿¡ ÀÇÇØ È£ÃâµÈ´Ù :: Koblitz. ÂüÁ¶ ¹Ì±¹ÀÇ ¾Æ¸§´Ù¿î ´õ À¢Æ® Ç¥ÁØ °£Ç๰ 186-2À» FIPS ¶Ç´Â 186-3À» FIPS. °î¼± À̸§ Áß ÇϳªÀÇ »õ·Î¿î (±âÁØ => '°Ë·®¼± À̸§') :·Î »ç¿ë Å©¸³Æ® :: ECDSA :: °î¼± :: Prime-> »õ·Î¿î (±âÁØ => ) Å©¸³Æ® :: ECDSA :: °î¼± :: Koblitz-> »õ·Î¿î (±âÁØ => ) Koblitz °î¼± °£´ÜÇÑ ¹æÁ¤½Ä Áø °î¼±ÀÇ Æ¯º°ÇÑ °æ¿ìÀÌ´Ù. Ç¥ÁØ => 'generic_prime'¶Ç´Â Ç¥ÁØ => 'generic_binary'ºñ Ç¥ÁØ °î¼± À¯Çü ¶Ç´Â »õ·Î¿î ½ÖÀÇ ÁöÁ¤À» ÅëÇØ ÀÏ¹Ý "Ç¥ÁØ"À» ÁöÁ¤ ÆĶó¹ÌÅÍ ¹× ¾Ë°í¸®ÁòÀ» ÅëÇØ ÁöÁ¤ÇϰųªÁöÁöµÈ´Ù. ´ÙÀ½Àº Ç¥ÁØÀÌ ¾Æ´Ñ °î¼± À¯Çü¿¡ ÁÖ·Î »ç¿ëµÈ´Ù. À̵éÀº À̸§ °î¼± ¹Ì¸® Á¤ÀÇ µÈ °ªÀ¸·ÎºÎÅÍ ÀÔ¼öµÈ´Ù : p => A => $ A, ¼¼Æ® °î¼± PARAM AB => $ B, ¼¼Æ® °î¼±À» param B (F (p) À§¿¡ ÇÁ¶óÀÓ °î¼±) $ P, ¼¼Æ® °î¼± °è¼ö N => 2 ** N ÀÌÁø °î¼± ź¼ºÀ² 2 ** N¿¡¼ Áö¼ö (F ÀÌÁø ¶Ç´Â Koblitz °î¼± (2 ** N)) Æ÷ÀÎÆ® ¼ø¼ R =>º£À̽º Æ÷ÀÎÆ® H => °î¼± º¸Á¶ÀÎ ÀÌÁø °î¼± ÇÁ¶óÀÓ °î¼± N => ±âÁØÁ¡ G ¿À´õ¿¡ ´ëÇÑ G ¼ø¼ G_x => $ X, ±âÁØÁ¡ X´Â G_y ÁÂÇ¥ => $ Y´Â, ±âÁØÁ¡ÀÇ Y ÀÌÁø Á¤¼ö Çü½ÄÀÇ ¹ÙÀ̳ʸ®> = ±â¾à °î¼± ±â¾à ±âÃÊ polynimial ÁÂÇ¥ ±×·¡¼ X ** 233 ** 74 + X + 1°¡µÇµµ·Ï ´ÙÇ×½Ä => ¹× ±â¾à => '0x20000000000000000000000000000000000000004000000000000000001'a ³» $ PARAM = $ °î¼± ->Àº; Ÿ¿ø equation.b ³» $ PARAM = $ °î¼± -> BÀÇ ¸Å°³ º¯¼ö¸¦ ¹Ýȯ; Ÿ¿ø¿¡¼ B ¸Å°³ º¯¼ö¸¦ ¹Ýȯ equation.p ³» $ PARAM = $ °î¼± -> P; ¿¡¼ P ¸Å°³ º¯¼ö ¹ÝȯÀÌ ÁÖ¿ä curvesorder ³» $ PARAM = $ °î¼± -> ÁÖ¹®¿¡ ´ëÇÑ ÇÊµå °è¼ö ¸Å°³ º¯¼öÀÔ´Ï´Ù equation--; ¹Ýȯ °î¼± ±âÁØÁ¡ G ¼ø¼ °æ¿ì known.curve_order ³» $ PARAM = $ °î¼± -> curve_order; ¹Ýȯ ¾Ë·ÁÁø °æ¿ì °î¼± ¼ø¼. ÀÌ°ÍÀº ¾ðÁ¨°¡ ¼ø¼¸¦ °è»êÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×°ÍÀºÀÌ version.infinity ³» $ INF = $ °î¼± -> ¹«ÇÑÇÏÁö ¾Ê½À´Ï´Ù; curve.standard¿¡ ´ëÇÑ ¹Ýȯ ¹«ÇÑ À¯È¿ÇÑ Á¡À» ³» $ PARAM = $ °î¼± -> Ç¥ÁØ; ¡¤ ÆÞ ¿ä±¸ »çÇ× ´ÙÀ½ instance.Requirements¿¡ ´ëÇØ Á¤ÀÇ µÈ °æ¿ì, °î¼±ÀÇ 'Ç¥ÁØ'ÇüÀ» µ¹·ÁÁÝ´Ï´Ù : ¡¤ Perl.
crypt :: ecdsa :: °î¼± °ü·Ã ¼ÒÇÁÆ®¿þ¾î