| Crypt :: OpenSSL :: DSA. µðÁöÅÐ ¼¸í ¾Ë°í¸®Áò opensslÀ» »ç¿ëÇÏ¿© |
Áö±Ý ´Ù¿î·Îµå |
Crypt :: OpenSSL :: DSA. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~borisz/Apache2-PageKit-2.14_14/lib/Apache2/PageKit.pm
Crypt :: OpenSSL :: DSA. ű×
Crypt :: OpenSSL :: DSA. ¼³¸í
µðÁöÅÐ ¼¸í ¾Ë°í¸®Áò OpenSSLÀ» »ç¿ëÇÏ¿© Crypt :: OpenSSL :: DSA´Â openssl.synopsis »ç¿ëÀ» »ç¿ëÇÏ´Â µðÁöÅÐ ¼¸í ¾Ë°í¸®ÁòÀ»À§ÇÑ Perl ¸ðµâÀÔ´Ï´Ù. Synopsis Crypt :: OpenSSL :: DSA; # Å°¸¦ »ý¼ºÇÏ°í PEM ÆÄÀÏ¿¡ ½á¼ MY $ dsa = crypt :: OpenSSL :: DSA-> generate_parameters (512); $ dsa-> generate_key; $ dsa-> write_pub_key ($ filename); $ dsa-> write_priv_key ($ filename); # PEM ÆÄÀÏ¿¡¼ Å° »ç¿ë My $ dsa_priv = crypt :: OpenSSL :: DSA-> READ_PRIV_KEY ($ FILENAME); ³» $ sig = $ dsa_priv-> sign ($ ¸Þ½ÃÁö); MY $ DSA_PUB = CRYPT :: OpenSSL :: DSA-> READ_PUB_KEY ($ FILENAME); MY $ À¯È¿ = $ DSA_PUB-> È®ÀÎ ($ ¸Þ½ÃÁö, $ SIG); # PEM ¹®ÀÚ¿¿¡¼ Å° »ç¿ë My $ dsa_priv = crypt :: OpenSSL :: DSA-> READ_PRIV_KEY_STR ($ key_string); ³» $ sig = $ dsa_priv-> sign ($ ¸Þ½ÃÁö); MY $ DSA_PUB = CRYPT :: OPENSSL :: DSA-> READ_PUB_KEY_STR ($ key_string); MY $ À¯È¿ = $ DSA_PUB-> È®ÀÎ ($ ¸Þ½ÃÁö, $ SIG); CRYPT :: OPENSSL :: DSA´Â DSA (µðÁöÅÐ ¼¸í ¾Ë°í¸®Áò) ¼¸í È®ÀÎ ½Ã½ºÅÛÀ» ±¸ÇöÇÕ´Ï´Ù. openssl¿¡ Æ÷ÇÔ µÈ DSA ÇÔ¼ö¿¡ ¾ãÀº XS ·¡ÆÛÀÔ´Ï´Ù. http://www.openssl.org ¿ä±¸ »çÇ׿¡ÀÖ´Â Crypto ¶óÀ̺귯¸® : ¡¤ Perl.
Crypt :: OpenSSL :: DSA. °ü·Ã ¼ÒÇÁÆ®¿þ¾î