RSA加解密

RSA加解密 在laravel工程app文件夹下新建Tools文件夹,新建Rsa.php,如下 源码 <?php /** * Created by PhpStorm. * User: and * Date: 2017/3/10 * Time: 13:11 */ namespace App\Tools; class Rsa { const PRIVATE_KEY =