This tutorial will show you how to encrypt arbitrarily large messages with asymmetric keys and a PHP library called phpseclib. Introduction Most of us understand the need to encrypt sensitive data before transmitting it. Encryption is the process of translating plaintext (i.e. normal data) into ciphertext (i.e. secret data). During encryption, plaintext information is translated to ciphertext usin
![How to Encrypt Large Messages with Asymmetric Keys and phpseclib — SitePoint](https://cdn-ak-scissors.b.st-hatena.com/image/square/b0f47d7caa8f888e33fa72543419bc50a44ddfae/height=288;version=1;width=512/https%3A%2F%2Fwww.sitepoint.com%2Fwp-content%2Fthemes%2Fsitepoint%2Fassets%2Fimages%2Ficon.php.png)