Skip to content
Advertisement

Tag: jsencrypt

How to decrypt data using phpseclib class Crypt_RSA that was encrypted by travist/jsencrypt

im using linux ubuntu server with nginx,mysql,php7.3 I’m trying to encrypt message using public rsa key, that was generated on server side using phpseclib (http://phpseclib.sourceforge.net/) Then i’m trying to use generated key to encrypt and decrypt message with JSEncrypt library (https://github.com/travist/jsencrypt), it works so far And finally im trying to decrypt JSEencrypted message with private key using phpseclib rsa implemetation.

Advertisement