#110·jsencrypt

Message too long for RSA

Author: afinalCreated Oct 30, 2017Updated Apr 1, 2025

let encrypt = new JSEncrypt(); encrypt.setPublicKey(PUBLIC_KEY); let RequestData = encrypt.encrypt(JSON.stringify({method, data}));