cryptography

RSA encryption using Microsoft Excel

◇◆丶佛笑我妖孽 提交于 2020-07-09 07:13:09
问题 Is there any ready to use implementation of RSA encryption algorithm for Excel( just encrypt a plain text using given public key, nothing else ) ? Or I need to implement it from the beginning ? I Google but found nothing useful. Any useful links is welcome. UPDATE: I need a non-commercial library. 回答1: This site Simple RSA Encryption and this site have some example code for both VBA and .NET 来源: https://stackoverflow.com/questions/13500280/rsa-encryption-using-microsoft-excel

RSA encryption using Microsoft Excel

∥☆過路亽.° 提交于 2020-07-09 07:12:16
问题 Is there any ready to use implementation of RSA encryption algorithm for Excel( just encrypt a plain text using given public key, nothing else ) ? Or I need to implement it from the beginning ? I Google but found nothing useful. Any useful links is welcome. UPDATE: I need a non-commercial library. 回答1: This site Simple RSA Encryption and this site have some example code for both VBA and .NET 来源: https://stackoverflow.com/questions/13500280/rsa-encryption-using-microsoft-excel

Encrypt on frontend (sodium-plus.js) with public-key from backend (PHP sodium)

半城伤御伤魂 提交于 2020-07-09 07:11:19
问题 I would like to achieve an anonymous public-key encryption in a web browser using sodium-plus.js with keys generated in PHP sodium like this: $keyPair = sodium_crypto_box_keypair(); $privateKey = sodium_crypto_box_secretkey($keyPair); $publicKey = sodium_crypto_box_publickey($keyPair); The keys generated with this method work fine in PHP with the sodium_crypto_box_seal and sodium_crypto_box_seal_open methods, but however, I am unable to make it work on the frontend. My approach: <script type=

Encrypt on frontend (sodium-plus.js) with public-key from backend (PHP sodium)

我怕爱的太早我们不能终老 提交于 2020-07-09 07:10:46
问题 I would like to achieve an anonymous public-key encryption in a web browser using sodium-plus.js with keys generated in PHP sodium like this: $keyPair = sodium_crypto_box_keypair(); $privateKey = sodium_crypto_box_secretkey($keyPair); $publicKey = sodium_crypto_box_publickey($keyPair); The keys generated with this method work fine in PHP with the sodium_crypto_box_seal and sodium_crypto_box_seal_open methods, but however, I am unable to make it work on the frontend. My approach: <script type=

Encrypt on frontend (sodium-plus.js) with public-key from backend (PHP sodium)

最后都变了- 提交于 2020-07-09 07:09:47
问题 I would like to achieve an anonymous public-key encryption in a web browser using sodium-plus.js with keys generated in PHP sodium like this: $keyPair = sodium_crypto_box_keypair(); $privateKey = sodium_crypto_box_secretkey($keyPair); $publicKey = sodium_crypto_box_publickey($keyPair); The keys generated with this method work fine in PHP with the sodium_crypto_box_seal and sodium_crypto_box_seal_open methods, but however, I am unable to make it work on the frontend. My approach: <script type=

Spring config server security encryption and decryption not working

淺唱寂寞╮ 提交于 2020-07-08 22:59:43
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not

Spring config server security encryption and decryption not working

岁酱吖の 提交于 2020-07-08 22:59:13
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not

Spring config server security encryption and decryption not working

a 夏天 提交于 2020-07-08 22:56:55
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not

Spring config server security encryption and decryption not working

老子叫甜甜 提交于 2020-07-08 22:54:59
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not

Spring config server security encryption and decryption not working

别等时光非礼了梦想. 提交于 2020-07-08 22:54:15
问题 I am using spring config server and spring security. I have followed the link https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html I have added JCF in C:\Program Files\Java\jdk1.8.0_171\jre\lib\security folder. When I post localhost:8080/encrypt { "description": "The encryption algorithm is not strong enough", "status": "INVALID" } This response comes. Please let me know the issue. 回答1: if you are getting {"description": "The encryption algorithm is not