Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Jan 3, 2023 · Information Security

Why Can Public Key Encrypt but Not Decrypt? Unpacking HTTPS Encryption

An in‑depth guide explains the difference between symmetric and asymmetric encryption, why a public key can encrypt but not decrypt, and walks through the TLS 1.2 handshake that underpins HTTPS, covering certificates, random numbers, session key derivation, and the role of public‑private key pairs.

HTTPSHandshakeTLS
0 likes · 16 min read
Why Can Public Key Encrypt but Not Decrypt? Unpacking HTTPS Encryption
Open Source Tech Hub
Open Source Tech Hub
Dec 28, 2018 · Information Security

Generate RSA Keys and Use PHP for Encryption & Decryption

This guide explains what RSA encryption is, outlines common use cases, shows step‑by‑step commands to generate private and public keys with OpenSSL, and provides a complete PHP class with methods for public‑key encryption, private‑key decryption, signing and verification, plus practical code examples.

PHPRSAdecryption
0 likes · 9 min read
Generate RSA Keys and Use PHP for Encryption & Decryption