when using the RSA library jsencrypt.js as signature, the
PHP server encrypts the information using the server"s private key and returns the encrypted ciphertext to the client. The
client uses the jsencrypt.js library to decrypt, uses the server"s public key for decryption, but returns false
I have tested that the key pair is a pair. In the PHP test, the public key of the server can be successfully decrypted and the original information can be restored.
but it is not possible to use the jsencrypt.js library on the client side. The FALSE,
PHP server public key is exactly the same as the client public key.
do you have this problem?