#153·jsencrypt

There seems to be a problem with public key decryption

Author: sceneNoLongerCreated Apr 23, 2019Updated May 23, 2024

I want to use the private key to encrypt the server and the public key to decrypt the browser. However, using the public key to decrypt is problematic.

The chasing code finds that an exception occurs when the public key is decrypted, resulting in the return of false.

PKCS8 format used by my server, key length 2048