Questions tagged [public-key-encryption]

A security protocol that employs two interconnected mathematical keys: a public key and a private key. When a message is encoded with the public key, it can only be decoded with the corresponding private key, and vice versa.

Securing the connection between clients and servers through encryption

For my mobile client, I am using Xamarin, with node.js as my backend and MongoDB as the database. The main issue I am facing is how to securely store user data in the database. If I only do server-side encryption, there is a risk of hackers intercepting th ...

Securely encoding information with PHP and decrypting it using JavaScript

I'm currently working with 2 servers. My goal is to generate a pair of keys, store the private key in local storage, and send the public key to my PHP server. The main objective is to encrypt data using the public key in PHP and decrypt it using Jav ...

Express now has the capability to utilize a .pfx file that contains an encrypted private key without requiring the password for the private key

I have a situation where my express instance is using an unencrypted pfx file that contains my certificate and an encrypted private key. Surprisingly, when I load the pfx in express, it works without needing to provide any password. This has left me wonder ...