Orrin

Results 8 comments of Orrin

小程序不是二维码...这个是类似于有点像 ins 还是 FB 推的

这个属于编码的问题,建议emoji 转换编码,要不然加密的时候会有编码的问题

You can try the following code 你可以尝试以下代码,通过分块加密 ``` /** * 分段加密长字符串 * @param {string} str the string to encrypt * @return {string} the encrypted string encoded in base64 * @public...

公钥不是用于解密的 用私钥加密[公钥解密]是不可能的。 RSA最初的设计就是为了公钥用于公开的

You can try the following code 你可以尝试以下代码,通过分块加密 ``` /** * 分段加密长字符串 * @param {string} str the string to encrypt * @return {string} the encrypted string encoded in base64 * @public...

具体是什么不兼容,我这边看到的话就只是因为有最大限制的问题,但是通过分块加密是可以解决这个问题的

具体是什么不兼容,我这边看到的话就只是因为有最大限制的问题,但是通过分块加密是可以解决这个问题的

这个不是基于前端类库的安全问题,jsencrypt只是一个前端类库,XSS 是需要后端验证的,建议安装 WAF 以及在后端进行相关验证