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

황제낙엽 2007.09.27 11:20 조회 수 : 2759 추천: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 6766
공지 [계속 추가중] Keycloak 용어 및 설정 옵션 정의 황제낙엽 2024.02.02 7007
21 Certificate Server의 설치 와 Client인증 황제낙엽 2007.09.27 1051
20 OpenSSL의 설치 및 운영 황제낙엽 2007.09.27 1181
19 OpenSSL 프로그래밍 황제낙엽 2007.09.27 2930
18 OpenSSL 을 통한 파일 암호화 황제낙엽 2007.09.27 1403
17 OpenSSL 과 OpenSSH 소스 파일 (Language : C) 황제낙엽 2007.09.24 1787
16 RSA 암호화 알고리즘을 구현한 C++ 예제 file 황제낙엽 2007.09.17 3028
15 RSA암호화를 이용한 로그인 ID/패스워드 정보 관리 황제낙엽 2007.09.05 1312
14 PHP와 OpenSSL 황제낙엽 2007.09.27 1875
» RSA 공개키 암호화 알고리즘 - PHP 구현[2] file 황제낙엽 2007.09.27 2759
12 RSA 공개키 암호화 알고리즘 - PHP 구현[1] file 황제낙엽 2007.09.05 1795
11 OpenSSL사용방법 메모, RSA암호의 최대 사이즈, JCA/JCE가이드 황제낙엽 2007.09.27 1730
10 Java Cryptography Extension (JCE) 개요 황제낙엽 2007.09.27 2195
9 Java에서 암호화하고 C++에서 복호화하는 방법 황제낙엽 2007.09.27 2052
8 비밀키를 Keytool에서 취급할 수 있는 형식으로 변환방법 황제낙엽 2007.09.27 2157
7 공개키 암호화의 수학적 알고리즘과 자바 구현 황제낙엽 2007.09.22 1852
6 RSA 암호화 알고리즘을 구현한 자바예제 (산술계산) 황제낙엽 2007.09.17 1954
5 RSA 암호화 프로그램 예제 (BigInteger 이용) file 황제낙엽 2007.09.08 1877
4 해쉬를 이용한 패스워드 로그인 황제낙엽 2007.09.05 1686
3 Java 보안과 암호화 (개론) file 황제낙엽 2007.09.05 1714
2 RSA 공개키 암호화 방식 (java.security, javax.crypto, au.net.aba.crypto.provider 패키지 이용) 황제낙엽 2007.09.05 1868