Open github150620 opened 6 years ago
I tried the demo in the README.md. If the pubkey and privkey is PKCS#8 format, it works good. But when I replace the pubkey and privkey with PKCS#1 format, the decrypted is empty.
delete this "data = [RSA stripPrivateKeyHeader:data];"
I tried the demo in the README.md. If the pubkey and privkey is PKCS#8 format, it works good. But when I replace the pubkey and privkey with PKCS#1 format, the decrypted is empty.