PHP RSA 공개키 암호화 알고리즘 - PHP 구현[2]

황제낙엽 2007.09.27 11:20 조회 수 : 4166 추천:110

sitelink1  
sitelink2  
sitelink3 http://1 
sitelink4 http://ko 
extra_vars5 http://pear.php.net/package/Crypt_RSA/downloadhttp://pear.php.net/package/Crypt_RSA/docs/1.0.0RC6/li_Crypt_RSA.html 
extra_vars6 sitelink1 
Release date: 2006-02-28 21:20 UTC
Release state: beta

Changelog:

* added toPEMString() function in Crypt_RSA_KeyPair class. It allows to store keypair in .pem file as RSA private key
* added isEqual() function in Crypt_RSA_KeyPair class. It returns true if two keypairs are equal
* added mod() and isPrime() functions to math wrappers interface
* fixed bug in getPrime() function of GMP and BCMath math wrappers, which hangs up key generating process
* added optional $random_generator parameter to Crypt_RSA_KeyPair constructor and factory() method
* added benchmark in tests/bench.php, which clearly shows performance of different math wrappers (GMP, BigInt, BCMath). In short: GMP is 5 times faster than BigInt, BCMath is 50 times slower than BigInt.

Dependencies:
  • PHP Extension: bcmath (optional)
  • PHP Extension: gmp (optional)
  • PEAR Package: big_int 1.0.3 or newer (optional)

번호 제목 글쓴이 날짜 조회 수
공지 [계속 추가중] SBOM 용어 정의 황제낙엽 2025.04.10 21395
공지 [계속 추가중] Keycloak 용어 및 설정 옵션 정의 황제낙엽 2024.02.02 20219
28 파일 해쉬 알고리즘 CRC 황제낙엽 2009.12.01 2608
27 해쉬 알고리즘의 종류 황제낙엽 2009.12.01 2480
26 Ajax 보안 관련 문서 (Attacking AJAX Web Applications) file 황제낙엽 2009.02.12 3166
25 blowfish 알고리즘 file 황제낙엽 2008.01.22 2352
24 OpenSSL을 이용한 보안 통신 API의 설계 및 구현 file 황제낙엽 2007.10.01 2633
23 Windows환경에서의 OpenSSL설치 file 황제낙엽 2007.09.28 2504
22 OpenSSL Command-Line HOWTO 황제낙엽 2007.09.27 3123
21 Certificate Server의 설치 와 Client인증 황제낙엽 2007.09.27 2343
20 OpenSSL의 설치 및 운영 황제낙엽 2007.09.27 2404
19 OpenSSL 프로그래밍 황제낙엽 2007.09.27 4292
18 OpenSSL 을 통한 파일 암호화 황제낙엽 2007.09.27 3193
17 OpenSSL 과 OpenSSH 소스 파일 (Language : C) 황제낙엽 2007.09.24 3180
16 RSA 암호화 알고리즘을 구현한 C++ 예제 file 황제낙엽 2007.09.17 4435
15 RSA암호화를 이용한 로그인 ID/패스워드 정보 관리 황제낙엽 2007.09.05 2565
14 PHP와 OpenSSL 황제낙엽 2007.09.27 3198
» RSA 공개키 암호화 알고리즘 - PHP 구현[2] file 황제낙엽 2007.09.27 4166
12 RSA 공개키 암호화 알고리즘 - PHP 구현[1] file 황제낙엽 2007.09.05 3559
11 OpenSSL사용방법 메모, RSA암호의 최대 사이즈, JCA/JCE가이드 황제낙엽 2007.09.27 3216
10 Java Cryptography Extension (JCE) 개요 황제낙엽 2007.09.27 3993
9 Java에서 암호화하고 C++에서 복호화하는 방법 황제낙엽 2007.09.27 3644