pidcrypt

Javascript + PHP Encryption with pidCrypt

删除回忆录丶 提交于 2019-12-12 17:21:23
问题 I have been working on trying to implement an encryption mechanism for passing secure information on my website. My host charges extra for SSL, and I am not ready for the extra monetary commitment. I tried to use pidCrypt to encrypt the values on the client side via javascript. Then, I have tried several techniques for unencrypting on the PHP side. For some reason, the data just gets garbled. Can someone point out what I am doing wrong? Or, should I use a different javascript library for the

RSA communication between Javascript and Python

南笙酒味 提交于 2019-12-02 05:01:44
问题 I am working on a prototype, so it needs to use RSA between a Chrome Extension and a Python Server. So far I was planning on using https://sourceforge.net/projects/pidcrypt/ and https://www.dlitz.net/. However, while I can get decrypt and encrypt to work as per the documentation, I cannot get one to decrypt each other's message. Can someone please, either suggest libraries that interoperate or let me know if I am doing something wrong with this libraries? From what I worked out, pidder uses

RSA communication between Javascript and Python

被刻印的时光 ゝ 提交于 2019-12-01 23:18:47
I am working on a prototype, so it needs to use RSA between a Chrome Extension and a Python Server. So far I was planning on using https://sourceforge.net/projects/pidcrypt/ and https://www.dlitz.net/ . However, while I can get decrypt and encrypt to work as per the documentation, I cannot get one to decrypt each other's message. Can someone please, either suggest libraries that interoperate or let me know if I am doing something wrong with this libraries? From what I worked out, pidder uses RSA PKCS#1 encryption-style padding (type 2). From googling, I sort of worked out that it is the type