You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i can not use this to encrypt data by private key and decrypt data by public key. such as
const encryptor = new JSEncrypt();
encryptor.setPrivateKey(privateKey); // set private key;
return encryptor.encrypt(data);
const decryptor = new JSEncrypt()
decryptor.setPublicKey(publicKey)// set public key
return decryptor.decrypt(data)
The text was updated successfully, but these errors were encountered:
jackieonway
changed the title
Can not support PrivateKey encrypt and PublicKey denrypt
Can not support PrivateKey encrypt and PublicKey decrypt
Sep 13, 2022
i can not use this to encrypt data by private key and decrypt data by public key. such as
The text was updated successfully, but these errors were encountered: