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

황제낙엽 2007.09.27 11:20 조회 수 : 3229 추천: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 9309
공지 [계속 추가중] Keycloak 용어 및 설정 옵션 정의 황제낙엽 2024.02.02 9391
27 해쉬 알고리즘의 종류 황제낙엽 2009.12.01 1610
26 Ajax 보안 관련 문서 (Attacking AJAX Web Applications) file 황제낙엽 2009.02.12 1507
25 blowfish 알고리즘 file 황제낙엽 2008.01.22 1477
24 OpenSSL을 이용한 보안 통신 API의 설계 및 구현 file 황제낙엽 2007.10.01 1474
23 Windows환경에서의 OpenSSL설치 file 황제낙엽 2007.09.28 1387
22 OpenSSL Command-Line HOWTO 황제낙엽 2007.09.27 2220
21 Certificate Server의 설치 와 Client인증 황제낙엽 2007.09.27 1457
20 OpenSSL의 설치 및 운영 황제낙엽 2007.09.27 1511
19 OpenSSL 프로그래밍 황제낙엽 2007.09.27 3403
18 OpenSSL 을 통한 파일 암호화 황제낙엽 2007.09.27 1854
17 OpenSSL 과 OpenSSH 소스 파일 (Language : C) 황제낙엽 2007.09.24 2277
16 RSA 암호화 알고리즘을 구현한 C++ 예제 file 황제낙엽 2007.09.17 3468
15 RSA암호화를 이용한 로그인 ID/패스워드 정보 관리 황제낙엽 2007.09.05 1639
14 PHP와 OpenSSL 황제낙엽 2007.09.27 2383
» RSA 공개키 암호화 알고리즘 - PHP 구현[2] file 황제낙엽 2007.09.27 3229
12 RSA 공개키 암호화 알고리즘 - PHP 구현[1] file 황제낙엽 2007.09.05 2408
11 OpenSSL사용방법 메모, RSA암호의 최대 사이즈, JCA/JCE가이드 황제낙엽 2007.09.27 2260
10 Java Cryptography Extension (JCE) 개요 황제낙엽 2007.09.27 2875
9 Java에서 암호화하고 C++에서 복호화하는 방법 황제낙엽 2007.09.27 2588
8 비밀키를 Keytool에서 취급할 수 있는 형식으로 변환방법 황제낙엽 2007.09.27 2802